Skip to content

Commit

Permalink
ci: fix npm test job replacing ci with install
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent committed Jul 1, 2021
1 parent d26766d commit df22129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:
types: [created]

jobs:
build:
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm ci
- run: npm install
- run: npm test

publish-npm:
needs: build
needs: test-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -33,7 +33,7 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-gpr:
needs: build
needs: test-release
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit df22129

Please sign in to comment.