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 f014c4e commit e24d05cCopy full SHA for e24d05c
.github/workflows/release.yml
@@ -0,0 +1,27 @@
1
+name: Release
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+jobs:
7
+ release:
8
+ name: Release
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v3
13
+ with:
14
+ fetch-depth: 0
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v3
17
18
+ node-version: "lts/*"
19
+ - name: Install dependencies
20
+ run: npm install
21
+ - name: Build
22
+ run: npm run build
23
+ - name: Release
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
26
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27
+ run: npx semantic-release
.releaserc
@@ -0,0 +1,3 @@
+{
+ "branches": ["main"]
+}
0 commit comments