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 a3fbeec commit 742ed18Copy full SHA for 742ed18
.github/workflows/build-release.yaml
@@ -0,0 +1,28 @@
1
+name: build-release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ publish-npmjs:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20.x'
20
+ registry-url: 'https://registry.npmjs.org'
21
22
+ - name: Install dependencies
23
+ run: npm install
24
25
+ - name: Publish package
26
+ run: npm publish --provenance --access public
27
+ env:
28
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
.gitignore
@@ -1,3 +1,4 @@
+.idea
node_modules
.DS_Store
.tmp
0 commit comments