There was an error while loading. Please reload this page.
1 parent c5af015 commit 846ad6dCopy full SHA for 846ad6d
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Create Relase & Publish Package
2
+on:
3
+ push:
4
+ tags:
5
+ - "v*"
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-22.04
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: actions/create-release@v1
12
+ env:
13
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14
+ with:
15
+ tag_name: ${{ github.ref }}
16
+ release_name: Release ${{ github.ref }}
17
+ draft: false
18
+ prerelease: false
19
+ - uses: actions/setup-node@v3
20
21
+ node-version: 16
22
+ - run: npm install
23
+ - run: npm publish
24
25
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments