Skip to content

Commit

Permalink
#build-patch: build for GHPR and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
reskume committed Dec 5, 2024
1 parent 06849ef commit 8e73bfa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/github-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ jobs:
Various fixes and performance improvements.
draft: false
prerelease: false
# publish to GitHub Package Registry for internal use with @openaip namespace
- uses: actions/setup-node@v3
with:
node-version: 22
registry-url: https://npm.pkg.github.com/
scope: '@openaip'
- run: npm publish --access public
name: Publish to GitHub Package Registry
env:
NODE_AUTH_TOKEN: ${{secrets.GHPR_NPM_TOKEN}}
# publish to NPM for public access
- uses: actions/setup-node@v3
with:
node-version: 22
registry-url: https://registry.npmjs.org
scope: '@openaip'
- run: npm publish --access public
name: Publish to NPM Package Registry
env:
Expand Down

0 comments on commit 8e73bfa

Please sign in to comment.