mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 23:37:41 +00:00
pipeline mode changed
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
5031c2a5e3
commit
059528a7bc
2 changed files with 25 additions and 1 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -19,11 +19,23 @@ jobs:
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run 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
|
- name: Unit tests
|
||||||
run: npm run test:unit:ci
|
run: npm run test:unit:ci
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
needs:
|
||||||
|
- lint
|
||||||
|
- test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
12
.github/workflows/validation.yml
vendored
12
.github/workflows/validation.yml
vendored
|
@ -21,3 +21,15 @@ jobs:
|
||||||
run: npm run typecheck
|
run: npm run typecheck
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: npm run test:unit:ci
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue