Skip to content

Commit

Permalink
ci: needs test success before run publish-npm job (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-hyperjump authored Mar 26, 2021
1 parent e49f5f5 commit 2cfc120
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- run: npm test

test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -31,7 +32,7 @@ jobs:
- run: monika -v

publish-npm:
needs: build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 2cfc120

Please sign in to comment.