Skip to content

Commit ceb382c

Browse files
committed
Use npm version command instead of yarn
1 parent 8336145 commit ceb382c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +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 install
26-
- run: yarn version --no-git-tag-version --new-version ${{ env.NEW_VERSION }}
25+
- run: npm version --allow-same-version --new-version ${{ env.NEW_VERSION }}
2726
- name: Generate changelog
2827
run: npx github-changes --only-pulls -b main -o sourcegraph -r lsif-typescript -t "LSIF Node" -k ${{ secrets.GITHUB_TOKEN }}
2928
- name: Commit changes
@@ -32,6 +31,7 @@ jobs:
3231
git commit -m "v${{ env.NEW_VERSION }}"
3332
- name: Push changes
3433
run: git push origin HEAD:main
34+
- run: npm install
3535
- run: npm run build
3636
- run: npm publish --access public
3737
env:

0 commit comments

Comments
 (0)