Feature/unit tests (#184)
This commit is contained in:
committed by
GitHub
parent
255e4d8883
commit
ec46a6f760
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -57,3 +57,26 @@ jobs:
|
||||
working-directory: ./core
|
||||
run: |
|
||||
yarn lint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
cache-dependency-path: core/yarn.lock
|
||||
node-version: 16
|
||||
|
||||
- name: Install
|
||||
working-directory: ./core
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
- name: Test
|
||||
working-directory: ./core
|
||||
run: |
|
||||
yarn test
|
||||
|
Reference in New Issue
Block a user