We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e667ff commit d990002Copy full SHA for d990002
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: Node.js CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [12.x]
16
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Use Node.js ${{ matrix.node-version }}
20
+ uses: actions/setup-node@v1
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ - run: npm install
24
+ - run: npm run build --if-present
25
+ - run: npm test
26
+ - run: npm install @oclif/semantic-release@3 --global
27
+ - run: npx semantic-release -e @oclif/semantic-release
28
+ env:
29
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31
0 commit comments