We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b57077 + ae9bb7c commit 17c6b78Copy full SHA for 17c6b78
.github/workflows/release.yaml
@@ -0,0 +1,36 @@
1
+name: Release
2
+on:
3
+ push:
4
+ branches:
5
+ - '[0-9]+.x'
6
+ - '[0-9]+.[0-9]+.x'
7
+ - main
8
+ - next
9
+ - next-major
10
+ - beta
11
+ - alpha
12
+jobs:
13
+ release:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v2
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v1
20
+ with:
21
+ node-version: 12.x
22
+ - name: Install dependencies
23
+ run: npm ci
24
+ - name: Lint
25
+ run: npm run lint
26
+ - name: Test
27
+ run: npm test
28
+ env:
29
+ CI: true
30
+ - name: Build
31
+ run: npm run build
32
+ - name: Release
33
+ run: npm run semantic-release
34
35
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments