Skip to content

Commit

Permalink
add publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankcorn committed Nov 7, 2023
1 parent 7390761 commit d8a450b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ jobs:
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
scope: "@baselime"

- run: echo "registry=https://npm.pkg.github.com/@baselime" >> .npmrc

- name: Publish to GitHub registry
continue-on-error: true
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

create-release:
needs: [publish-node-packages]
Expand Down

0 comments on commit d8a450b

Please sign in to comment.