Skip to content

Commit

Permalink
Refactor build workflow to include permissions for reading contents a…
Browse files Browse the repository at this point in the history
…nd writing packages and add missing github token
  • Loading branch information
ternakkode committed Sep 29, 2024
1 parent abce252 commit 6fe11e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ jobs:
run: sudo apt-get install jq moreutils
- name: Setup WASM Config
run: jq '.wasm_url = "${{vars.CLOUDFRONT_CDN_DOMAIN}}/${{ github.sha }}"' config.json | sponge config.json
- name: Setup Node Config
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
- name: Install Dependencies
run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 6fe11e7

Please sign in to comment.