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 65c774a commit 32cc730Copy full SHA for 32cc730
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: "22.3.x"
17
18
+ - run: npm ci
19
20
+ - run: npm run build
21
22
+ - run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
25
+ - run: npm publish
0 commit comments