Skip to content

Commit

Permalink
Merge pull request #136 from hashicorp/migrate-np-publish
Browse files Browse the repository at this point in the history
Migrate to plain npm publish
  • Loading branch information
radeksimko authored May 3, 2023
2 parents 14c3c15 + e45b98c commit 7d411a3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # https://github.com/actions/setup-node/releases/tag/v3.6.0
with:
node-version-file: .nvmrc
- name: npm install
run: npm ci
- name: Publish package
uses: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # https://github.com/JS-DevTools/npm-publish/releases/tag/v1.4.3
with:
token: ${{ secrets.NPM_TOKEN }}
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7d411a3

Please sign in to comment.