File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 if : ${{ github.event.workflow_run.conclusion == 'success' }}
12- runs-on : ${{ matrix.os }}
13- strategy :
14- fail-fast : false
15- matrix :
16- os : [ubuntu-latest]
17- node : ['16']
12+ runs-on : ubuntu-latest
1813 steps :
1914 - uses : actions/checkout@v2
2015
2520
2621 - uses : actions/setup-node@v2
2722 with :
28- node-version : ${{ matrix.node }}
23+ node-version : 16
2924 cache : ' yarn'
3025 cache-dependency-path : ' yarn.lock'
3126
4641
4742 - name : Lint
4843 run : yarn prettier --check clients/algoliasearch-client-javascript
44+
45+ build-failure :
46+ if : ${{ github.event.workflow_run.conclusion == 'failure' }}
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Error on `specs` workflow
50+ run : exit 1
Original file line number Diff line number Diff line change @@ -4,12 +4,7 @@ on: [push]
44
55jobs :
66 build :
7- runs-on : ${{ matrix.os }}
8- strategy :
9- fail-fast : false
10- matrix :
11- os : [ubuntu-latest]
12- node : ['16']
7+ runs-on : ubuntu-latest
138 steps :
149 - uses : actions/checkout@v2
1510
2015
2116 - uses : actions/setup-node@v2
2217 with :
23- node-version : ${{ matrix.node }}
18+ node-version : 16
2419 cache : ' yarn'
2520 cache-dependency-path : ' yarn.lock'
2621
You can’t perform that action at this time.
0 commit comments