Skip to content

Commit

Permalink
fix(build): github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jrea committed May 22, 2024
1 parent d6613d7 commit 5b4b9e4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ jobs:
run: |
npx lerna publish from-git --yes
- name: Publish to GitHub Packages
- name: Update npm for git
run: |
rm -rf .npmrc
echo "@niledatabase:registry=https://npm.pkg.github.com/" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to git
run: npx lerna publish from-git --yes --registry=https://npm.pkg.github.com/

0 comments on commit 5b4b9e4

Please sign in to comment.