-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add build step to unit test workflow
- Loading branch information
1 parent
7c9e978
commit 66c8a5c
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,23 +21,24 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
- run: npm i -g yarn # Not necessary on Github but useful to test locally with `act` | ||
- run: yarn install --frozen-lockfile --check-files | ||
|
||
# This workflow contains a single job called "build" | ||
unit-test: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
needs: install | ||
# This workflow contains a single job called "build" | ||
#unit-test: | ||
# The type of runner that the job will run on | ||
# runs-on: ubuntu-latest | ||
# needs: install | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
# steps: | ||
- run: yarn run test:unit | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: install | ||
|
||
steps: | ||
#build: | ||
# runs-on: ubuntu-latest | ||
# needs: install | ||
# | ||
# steps: | ||
- run: yarn run build | ||
# Runs a single command using the runners shell | ||
#- name: Run a one-line script | ||
|