Skip to content

Commit

Permalink
fix(ci): fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Jan 8, 2024
1 parent 6a4d75d commit 28057a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
node-version-file: .nvmrc
cache: npm
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: npm ci --ignore-scripts
Expand All @@ -27,6 +28,6 @@ jobs:
run: npm run test

- name: Publish package
run: npm publish --access public
run: npm login && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 28057a2

Please sign in to comment.