Skip to content

Commit 73319da

Browse files
committed
fixup! Fix publish command to publish npm and jsr
1 parent af824f1 commit 73319da

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
git config user.email github-actions@github.com
5959
6060
# npm publish and push updated package.json
61-
- name: Publish
61+
- name: Publish to npm and jsr
6262
run: |
6363
npm run release -- --VERSION=$VERSION
6464
git push origin master

.github/workflows/release_test.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,10 @@ jobs:
2828
git config user.email github-actions@github.com
2929
3030
# npm publish and push updated package.json
31-
- name: PrePublish
31+
- name: prepublish to npm and jsr
3232
run: |
3333
npm run release:prepublish
34+
git push
3435
env:
3536
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3637
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
37-
38-
- name: Commit and push changes
39-
run: |
40-
git add package*.json
41-
git commit -m "debug: npm run release:prepublish"
42-
git push

0 commit comments

Comments
 (0)