Skip to content

Commit

Permalink
chore: Update swc (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Sep 17, 2022
1 parent e395deb commit 1d92a62
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 83 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/publish-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ on:
- "*"
tags:
- v*
pull_request:

jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -196,8 +196,6 @@ jobs:
packages/*/*.node
if-no-files-found: error
build-freebsd:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}

runs-on: macos-10.15
name: Build FreeBSD
steps:
Expand Down Expand Up @@ -259,7 +257,6 @@ jobs:
packages/*/*.node
if-no-files-found: error
test-macOS-windows-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
- build
Expand Down Expand Up @@ -301,7 +298,6 @@ jobs:
- name: Test bindings
run: yarn workspaces run test
test-linux-x64-gnu-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
needs:
- build
Expand Down Expand Up @@ -340,7 +336,6 @@ jobs:
- name: Test bindings
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-slim yarn workspaces run test
test-linux-x64-musl-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs:
- build
Expand Down Expand Up @@ -379,7 +374,6 @@ jobs:
- name: Test bindings
run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine yarn workspaces run test
test-linux-aarch64-gnu-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
needs:
- build
Expand Down Expand Up @@ -421,7 +415,6 @@ jobs:
yarn workspaces run test
ls -la
test-linux-aarch64-musl-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
needs:
- build
Expand Down Expand Up @@ -456,7 +449,6 @@ jobs:
apk add nodejs npm yarn
yarn workspaces run test
test-linux-arm-gnueabihf-binding:
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/ci' }}
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
needs:
- build
Expand Down
Loading

0 comments on commit 1d92a62

Please sign in to comment.