Skip to content

Commit

Permalink
Run npm install in release stage
Browse files Browse the repository at this point in the history
  • Loading branch information
casmith committed Dec 21, 2021
1 parent a221d7f commit bc04a67
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v2
Expand All @@ -29,6 +28,15 @@ jobs:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- run: npm install
- run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit bc04a67

Please sign in to comment.