Skip to content

Commit 16b598f

Browse files
authored
Merge pull request #22 from deflis/fix-release-workflow-2
Update npm publish action
2 parents 8b3715b + c482e0b commit 16b598f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
- name: Build
4040
run: pnpm run build
4141

42-
- name: Publish to npm
43-
shell: bash
44-
run: pnpm publish
45-
env:
46-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
- uses: simenandre/publish-with-pnpm@v1
43+
with:
44+
npm-auth-token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)