We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d2f41c commit b54b9d7Copy full SHA for b54b9d7
1 file changed
.github/workflows/release.yml
@@ -1,22 +1,26 @@
1
-name: release
+name: Build & release
2
on:
3
push:
4
branches: [master]
5
jobs:
6
build:
7
+ name: Build & release
8
runs-on: ubuntu-latest
9
steps:
10
+ - uses: actions/checkout@v2
11
- name: Use Node.js 14.16.0
12
uses: actions/setup-node@v1
13
with:
14
node-version: 14.16.0
15
- name: Install Dependencies
16
run: npm ci
17
+ - name: Test
18
+ run: npm test
19
- name: Build
20
run: npm build
21
- name: Release
22
run: npx semantic-release
23
env:
- GH_TOKEN: ${{ secrets.GH_TOKEN }}
24
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
26
0 commit comments