CI: build before testing 💚
This commit is contained in:
parent
448294ba5c
commit
5658c84c54
1 changed files with 2 additions and 1 deletions
3
.github/workflows/docker-image.yml
vendored
3
.github/workflows/docker-image.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
||||||
- 6
|
- 6
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
name: lint & test
|
name: lint, build & test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
|
@ -16,6 +16,7 @@ jobs:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
- run: npm run build
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
|
|
Loading…
Reference in a new issue