Skip to content

Commit 84bcf03

Browse files
committed
Use only yarn in release job
1 parent 939f9ac commit 84bcf03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v2
2323
- name: Get the tag version
2424
run: echo "NEW_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
25-
- run: npm version --allow-same-version --new-version ${{ env.NEW_VERSION }}
25+
- run: yarn version --no-git-tag-version --new-version ${{ env.NEW_VERSION }}
2626
- name: Generate changelog
2727
run: npx github-changes --only-pulls -b main -o sourcegraph -r lsif-typescript -t "LSIF Node" -k ${{ secrets.GITHUB_TOKEN }}
2828
- name: Commit changes
@@ -31,8 +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: yarn
34+
- run: yarn install
3535
- run: yarn run build
36+
- run: du -h dist/src/main.js
3637
- run: yarn publish --access public
3738
env:
3839
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)