chore: add jest github action
This commit is contained in:
parent
df5818cdc5
commit
dfd461518f
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@ -43,6 +43,21 @@ jobs:
|
|||||||
run: yarn lint
|
run: yarn lint
|
||||||
working-directory: web
|
working-directory: web
|
||||||
|
|
||||||
|
jest-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
cache: yarn
|
||||||
|
cache-dependency-path: "web/yarn.lock"
|
||||||
|
- run: yarn
|
||||||
|
working-directory: web
|
||||||
|
- name: Run jest
|
||||||
|
run: yarn test
|
||||||
|
working-directory: web
|
||||||
|
|
||||||
frontend-build:
|
frontend-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user