Skip to content

Commit 1d92a62

Browse files
authored
chore: Update swc (#8)
1 parent e395deb commit 1d92a62

File tree

4 files changed

+92
-83
lines changed

4 files changed

+92
-83
lines changed

.github/workflows/publish-node.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ on:
1313
- "*"
1414
tags:
1515
- v*
16+
pull_request:
1617

1718
jobs:
1819
build:
19-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
2020
strategy:
2121
fail-fast: false
2222
matrix:
@@ -196,8 +196,6 @@ jobs:
196196
packages/*/*.node
197197
if-no-files-found: error
198198
build-freebsd:
199-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
200-
201199
runs-on: macos-10.15
202200
name: Build FreeBSD
203201
steps:
@@ -259,7 +257,6 @@ jobs:
259257
packages/*/*.node
260258
if-no-files-found: error
261259
test-macOS-windows-binding:
262-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
263260
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
264261
needs:
265262
- build
@@ -301,7 +298,6 @@ jobs:
301298
- name: Test bindings
302299
run: yarn workspaces run test
303300
test-linux-x64-gnu-binding:
304-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
305301
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
306302
needs:
307303
- build
@@ -340,7 +336,6 @@ jobs:
340336
- name: Test bindings
341337
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-slim yarn workspaces run test
342338
test-linux-x64-musl-binding:
343-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
344339
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
345340
needs:
346341
- build
@@ -379,7 +374,6 @@ jobs:
379374
- name: Test bindings
380375
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine yarn workspaces run test
381376
test-linux-aarch64-gnu-binding:
382-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
383377
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
384378
needs:
385379
- build
@@ -421,7 +415,6 @@ jobs:
421415
yarn workspaces run test
422416
ls -la
423417
test-linux-aarch64-musl-binding:
424-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
425418
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
426419
needs:
427420
- build
@@ -456,7 +449,6 @@ jobs:
456449
apk add nodejs npm yarn
457450
yarn workspaces run test
458451
test-linux-arm-gnueabihf-binding:
459-
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
460452
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
461453
needs:
462454
- build

0 commit comments

Comments
 (0)