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 51b245c commit ee59d20Copy full SHA for ee59d20
.github/workflows/workflow.yml
@@ -1,15 +1,21 @@
1
name: CI
2
-on: push
+
3
+on: [push]
4
5
jobs:
- test:
6
+ build:
7
runs-on: ubuntu-latest
8
+ environment: deploy
9
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v1
10
+ - uses: actions/checkout@v3
11
+ - uses: actions/setup-node@v3
12
with:
- node-version: '12'
13
+ node-version: '16'
14
+ cache: 'yarn'
15
+ - run: yarn install
16
- run: yarn build
17
- name: Release
18
env:
19
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
20
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
21
run: yarn semantic-release
0 commit comments