Skip to content

Commit

Permalink
Use yarn to build the project instead of npm (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaihanski authored May 21, 2024
1 parent c76bf3e commit 56a1c09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ jobs:
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
run: yarn install --frozen-lockfile
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
# `npm rebuild` will run all those post-install scripts for us.
- run: npm rebuild && npm run prepare --if-present

- name: Publish to NPM Package Registry
run: npm publish --access=public
Expand Down

0 comments on commit 56a1c09

Please sign in to comment.