We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d22e2eb commit 8319847Copy full SHA for 8319847
.github/workflows/release-please.yml
@@ -32,3 +32,17 @@ jobs:
32
needs: [ release-please ]
33
if: needs.release-please.outputs.pr || startsWith(github.head_ref, 'release-please--')
34
uses: ./.github/workflows/tests.yml
35
+
36
+ npm-publish:
37
+ needs: release-please
38
+ if: ${{ needs.release-please.outputs.release_created }}
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - uses: actions/checkout@v4
42
+ - uses: actions/setup-node@v4
43
+ with:
44
+ node-version: lts/*
45
+ registry-url: 'https://registry.npmjs.org'
46
+ - run: npm publish --access public
47
+ env:
48
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments