Skip to content

Commit

Permalink
chore: add npm install step to release-please workflow (#573)
Browse files Browse the repository at this point in the history
* chore: add `npm install` step to release-please workflow

* Update .github/workflows/release-please.yml

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>

---------

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
  • Loading branch information
mdjermanovic and nzakas committed May 5, 2023
1 parent 8e73f11 commit d8900c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Expand Up @@ -35,7 +35,9 @@ jobs:
node-version: lts/*
registry-url: https://registry.npmjs.org
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
- run: |
npm install
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit d8900c1

Please sign in to comment.