fix: running tests and adding tests to CI & CD (#1047)
* fix: running tests and adding tests to CI & CD * fix: yarn.lock * fix: alert service * fix: ts-jest utils import
This commit is contained in:
21
.github/workflows/dev.yml
vendored
21
.github/workflows/dev.yml
vendored
@@ -10,31 +10,26 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
tsc:
|
||||
|
||||
name: Check types & lint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --pure-lockfile
|
||||
|
||||
- name: Typescript
|
||||
run: yarn tsc
|
||||
|
||||
- name: Bundle
|
||||
run: yarn bundle
|
||||
- name: ESLint
|
||||
run: yarn lint --quiet
|
||||
run: yarn lint
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
|
||||
deploy:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: tsc
|
||||
needs: test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user