Skip to content

Commit 508eb47

Browse files
committed
fix: remove strategy, handle failure on client_javascript
1 parent 1345338 commit 508eb47

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.github/workflows/client_javascript.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ on:
99
jobs:
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

@@ -25,7 +20,7 @@ jobs:
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

@@ -46,3 +41,10 @@ jobs:
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

.github/workflows/specs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ on: [push]
44

55
jobs:
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

@@ -20,7 +15,7 @@ jobs:
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

0 commit comments

Comments
 (0)