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:
Karol Sójko
2022-05-24 11:06:17 +02:00
committed by GitHub
parent c6839f776a
commit 2d3221c944
14 changed files with 158 additions and 160 deletions

View File

@@ -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