We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89d593 commit b47072fCopy full SHA for b47072f
.github/workflows/publish-to-npm-on-tag.yml
@@ -0,0 +1,23 @@
1
+name: publish-on-tag
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+ - name: Publish
17
+ env:
18
+ NPM_TOKEN: ${{secrets.NPM_TOKEN}}
19
+ TAG_NAME: ${{github.ref_name}}
20
+ run: |
21
+ npm config set registry 'https://wombat-dressing-room.appspot.com/'
22
+ npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
23
+ npm publish --provenance --access public
0 commit comments