Skip to content

Commit dec68c3

Browse files
committed
chore(ci): Remove wrong ifs
1 parent 8f445f4 commit dec68c3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/publish-extra-bindings.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ jobs:
181181
if-no-files-found: error
182182

183183
test-macOS-windows-binding:
184-
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
185184
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
186185
needs:
187186
- build-node
@@ -220,7 +219,6 @@ jobs:
220219
working-directory: "./packages/${{ github.event.inputs.package }}"
221220
run: corepack yarn test
222221
test-linux-x64-gnu-binding:
223-
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
224222
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
225223
needs:
226224
- build-node
@@ -258,7 +256,6 @@ jobs:
258256
- name: Test bindings
259257
run: docker run --rm -v $(pwd):/swc -w /swc/packages/${{ github.event.inputs.package }} node:${{ matrix.node }}-slim env DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test
260258
test-linux-x64-musl-binding:
261-
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
262259
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
263260
needs:
264261
- build-node
@@ -294,7 +291,6 @@ jobs:
294291
- name: Test bindings
295292
run: docker run --rm -v $(pwd):/swc -w /swc/packages/${{ github.event.inputs.package }} node:${{ matrix.node }}-alpine env DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test
296293
test-linux-aarch64-musl-binding:
297-
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
298294
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
299295
needs:
300296
- build-node
@@ -330,7 +326,6 @@ jobs:
330326
set -e &&
331327
(cd "./packages/${{ github.event.inputs.package }}" && DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test)
332328
test-linux-arm-gnueabihf-binding:
333-
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
334329
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
335330
needs:
336331
- build-node
@@ -373,9 +368,7 @@ jobs:
373368
set -e &&
374369
(cd "./packages/${{ github.event.inputs.package }}" && DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test &&
375370
ls -la)
376-
publish:
377-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
378-
371+
publish-node:
379372
name: npm
380373
runs-on: ubuntu-latest
381374
needs:

0 commit comments

Comments
 (0)