Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten committed Apr 4, 2024
1 parent fc850e3 commit dddbd4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:

- name: Publish internal
working-directory: ./js
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "@caido:registry=https://npm.pkg.github.com" > .npmrc
mv .npmrc.github .npmrc
pnpm -r publish --no-git-checks
5 changes: 5 additions & 0 deletions js/.npmrc.github
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}

@caido:registry=https://npm.pkg.github.com

publish-branch=main

0 comments on commit dddbd4d

Please sign in to comment.