Skip to content

Commit

Permalink
Revert "chore(ci): Remove wrong ifs"
Browse files Browse the repository at this point in the history
This reverts commit dec68c3.
  • Loading branch information
kdy1 committed Sep 29, 2023
1 parent 7f91274 commit 2696a0c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-extra-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
if-no-files-found: error

test-macOS-windows-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
- build-node
Expand Down Expand Up @@ -219,6 +220,7 @@ jobs:
working-directory: "./packages/${{ github.event.inputs.package }}"
run: corepack yarn test
test-linux-x64-gnu-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
needs:
- build-node
Expand Down Expand Up @@ -256,6 +258,7 @@ jobs:
- name: Test bindings
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
test-linux-x64-musl-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs:
- build-node
Expand Down Expand Up @@ -291,6 +294,7 @@ jobs:
- name: Test bindings
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
test-linux-aarch64-musl-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
needs:
- build-node
Expand Down Expand Up @@ -326,6 +330,7 @@ jobs:
set -e &&
(cd "./packages/${{ github.event.inputs.package }}" && DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test)
test-linux-arm-gnueabihf-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }}
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
needs:
- build-node
Expand Down Expand Up @@ -368,7 +373,9 @@ jobs:
set -e &&
(cd "./packages/${{ github.event.inputs.package }}" && DISABLE_PLUGIN_E2E_TESTS=true corepack yarn test &&
ls -la)
publish-node:
publish:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}

name: npm
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 2696a0c

Please sign in to comment.