Skip to content

Commit

Permalink
fix(build): add token to github packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jrea committed May 22, 2024
1 parent 1e22bd7 commit f5409ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ jobs:
run: |
rm -rf .npmrc
echo "@niledatabase:registry=https://npm.pkg.github.com/" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to git
run: npx lerna publish from-git --yes

0 comments on commit f5409ce

Please sign in to comment.