File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- master
6
6
jobs :
7
- release :
8
- name : Release
7
+ build-test-publish :
8
+ name : Build and Test
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - name : Checkout
12
- uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-node@v3
13
13
with :
14
- fetch-depth : 0
15
- - name : Setup Node.js
16
- uses : actions/setup-node@v2
17
- with :
18
- node-version : ' lts/*'
14
+ node-version : ' 16'
19
15
- name : Install dependencies
20
- run : npm ci
16
+ run : npm ci --legacy-peer-deps # TODO: remove this flag once we get rid of tslint
17
+ - name : Prettier check
18
+ run : npm run check:prettier
19
+ - name : Check linting
20
+ run : npm run check:code
21
+ - name : Build library
22
+ run : npm run build
21
23
- name : Release
22
24
env :
23
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
26
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
25
- run : npx semantic-release
27
+ run : npm run semantic-release
You can’t perform that action at this time.
0 commit comments