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 8051c5d commit cbcc8edCopy full SHA for cbcc8ed
.github/workflows/release.yml
@@ -0,0 +1,23 @@
1
+name: Release npm package
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ release:
10
+ name: Release
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@master
14
+ - uses: actions/setup-node@v1
15
+ with:
16
+ node-version: "16.x"
17
+ - run: npm install
18
+ - run: npm run check
19
+ - run: npm run dist --if-present
20
+ - run: npx semantic-release
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments