|
13 | 13 | - "*" |
14 | 14 | tags: |
15 | 15 | - v* |
| 16 | + pull_request: |
16 | 17 |
|
17 | 18 | jobs: |
18 | 19 | build: |
19 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
20 | 20 | strategy: |
21 | 21 | fail-fast: false |
22 | 22 | matrix: |
@@ -196,8 +196,6 @@ jobs: |
196 | 196 | packages/*/*.node |
197 | 197 | if-no-files-found: error |
198 | 198 | build-freebsd: |
199 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
200 | | - |
201 | 199 | runs-on: macos-10.15 |
202 | 200 | name: Build FreeBSD |
203 | 201 | steps: |
@@ -259,7 +257,6 @@ jobs: |
259 | 257 | packages/*/*.node |
260 | 258 | if-no-files-found: error |
261 | 259 | test-macOS-windows-binding: |
262 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
263 | 260 | name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} |
264 | 261 | needs: |
265 | 262 | - build |
@@ -301,7 +298,6 @@ jobs: |
301 | 298 | - name: Test bindings |
302 | 299 | run: yarn workspaces run test |
303 | 300 | test-linux-x64-gnu-binding: |
304 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
305 | 301 | name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }} |
306 | 302 | needs: |
307 | 303 | - build |
@@ -340,7 +336,6 @@ jobs: |
340 | 336 | - name: Test bindings |
341 | 337 | run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-slim yarn workspaces run test |
342 | 338 | test-linux-x64-musl-binding: |
343 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
344 | 339 | name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} |
345 | 340 | needs: |
346 | 341 | - build |
@@ -379,7 +374,6 @@ jobs: |
379 | 374 | - name: Test bindings |
380 | 375 | run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine yarn workspaces run test |
381 | 376 | test-linux-aarch64-gnu-binding: |
382 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
383 | 377 | name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} |
384 | 378 | needs: |
385 | 379 | - build |
@@ -421,7 +415,6 @@ jobs: |
421 | 415 | yarn workspaces run test |
422 | 416 | ls -la |
423 | 417 | test-linux-aarch64-musl-binding: |
424 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
425 | 418 | name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }} |
426 | 419 | needs: |
427 | 420 | - build |
@@ -456,7 +449,6 @@ jobs: |
456 | 449 | apk add nodejs npm yarn |
457 | 450 | yarn workspaces run test |
458 | 451 | test-linux-arm-gnueabihf-binding: |
459 | | - if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }} |
460 | 452 | name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} |
461 | 453 | needs: |
462 | 454 | - build |
|
0 commit comments