pipeline mode changed

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2022-02-03 22:20:47 +01:00
parent 5031c2a5e3
commit 059528a7bc
2 changed files with 25 additions and 1 deletions

View file

@ -19,11 +19,23 @@ jobs:
run: npm run lint
- name: Typecheck
run: npm run typecheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up NodeJs
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Unit tests
run: npm run test:unit:ci
docker:
runs-on: ubuntu-latest
needs: lint
needs:
- lint
- test
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -21,3 +21,15 @@ jobs:
run: npm run typecheck
- name: Unit tests
run: npm run test:unit:ci
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up NodeJs
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Unit tests
run: npm run test:unit:ci