Skip to content

Commit

Permalink
Fix github package registry credentials [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Corb3nik committed Feb 27, 2023
1 parent 553c29a commit a41e577
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
run: |
echo '@caido:registry=https://registry.npmjs.org/' > ~/.npmrc
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Semantic release
run: yarn run release
Expand All @@ -44,9 +42,9 @@ jobs:
run: |
echo '@caido:registry=https://npm.pkg.github.com/' > ~/.npmrc
echo '//npm.pkg.github.com/:_authToken=${GHP_TOKEN}' >> ~/.npmrc
env:
GHP_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}
- name: Publish to github package
run: npm publish
working-directory: ./wasm-package
env:
GHP_TOKEN: ${{ secrets.GH_PACKAGE_TOKEN }}

0 comments on commit a41e577

Please sign in to comment.