Skip to content

Commit

Permalink
add step to setup github package registry in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 15, 2025
1 parent 108c6d7 commit c775427
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@newfold'

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_ACCESS_TOKEN }}" >> .npmrc

- name: Install Dependencies
run: npm ci && npm run build
run: npm ci && npm run

- name: Publish
run: npm publish
Expand Down

0 comments on commit c775427

Please sign in to comment.