Skip to content

Commit d354ce5

Browse files
committed
Refactor release job to use yarn instead of npm
1 parent 5b48688 commit d354ce5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
git commit --allow-empty -m "v${{ env.NEW_VERSION }}"
3232
- name: Push changes
3333
run: git push origin HEAD:main
34-
- run: npm install
35-
- run: npm run build
36-
- run: npm publish --access public
34+
- run: yarn
35+
- run: yarn run build
36+
- run: yarn publish --access public
3737
env:
3838
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3939
- run: echo "PATCH=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)