Skip to content

Commit

Permalink
Refactor build workflow to use npm instead of yarn for installing and…
Browse files Browse the repository at this point in the history
… publishing packages
  • Loading branch information
ternakkode committed Sep 29, 2024
1 parent a150095 commit abce252
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,13 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com/
- name: Install Utilities
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: Install Dependencies
run: yarn install
- name: Publish Package
run: yarn publish
run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit abce252

Please sign in to comment.