-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mark Eklund
committed
Jul 16, 2022
1 parent
3318a2c
commit 64ad08c
Showing
4 changed files
with
33 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This workflow will run tests using node | ||
|
||
name: Yarn Test | ||
|
||
on: | ||
push: | ||
branches: [ main, develop ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ main, develop ] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
check-latest: true | ||
cache: 'yarn' | ||
cache-dependency-path: | | ||
yarn.lock | ||
demo/yarn.lock | ||
- name: yarn install | ||
run: yarn install --frozen-lockfile | ||
- name: yarn-install-demo | ||
working-directory: demo | ||
run: yarn install --frozen-lockfile | ||
- name: yarn build | ||
run: yarn run build | ||
- name: yarn-test-demo | ||
run: yarn test:ci |
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