Skip to content

Commit 59857c8

Browse files
authored
Update npm-publish.yml
1 parent dbec677 commit 59857c8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ jobs:
2929
run: pnpm install
3030
- name: Build
3131
run: pnpm image-editor build
32-
- name: Publish
33-
run: pnpm publish
32+
- name: Create and publish versions
33+
uses: changesets/action@v1
34+
with:
35+
commit: "chore: update versions"
36+
title: "chore: update versions"
37+
publish: pnpm publish -r
3438
env:
35-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
39+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)