Merge pull request #8 from TobenderZephyr/TobenderZephyr-patch-2
(fix) trigger deployment only if tests succeeds
This commit is contained in:
1
.github/workflows/node.js.yml
vendored
1
.github/workflows/node.js.yml
vendored
@ -29,6 +29,7 @@ jobs:
|
|||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- run: npm test
|
||||||
deploy:
|
deploy:
|
||||||
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
Reference in New Issue
Block a user