From 39168865c81d7358867cff3c4edbfdc7092d376c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Wed, 26 Oct 2022 18:52:15 +0900 Subject: [PATCH] chore(ci): Fix publish action --- .github/workflows/publish-node.yml | 44 ------------------------------ 1 file changed, 44 deletions(-) diff --git a/.github/workflows/publish-node.yml b/.github/workflows/publish-node.yml index 3919cd2afe35..85493c7788dd 100644 --- a/.github/workflows/publish-node.yml +++ b/.github/workflows/publish-node.yml @@ -465,49 +465,6 @@ jobs: run: yarn build:ts - name: Test bindings run: docker run --rm -v $(pwd):/swc -w /swc node:${{ matrix.node }}-alpine env DISABLE_PLUGIN_E2E_TESTS=true yarn 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 - strategy: - fail-fast: false - matrix: - node: - - "14" - - "16" - - "18" - runs-on: ubuntu-latest - steps: - - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - - uses: actions/checkout@v3 - - name: Download artifacts - uses: actions/download-artifact@v3 - with: - name: bindings-aarch64-unknown-linux-gnu - path: . - - name: List packages - run: ls -R . - shell: bash - - name: Cache NPM dependencies - uses: actions/cache@v3 - with: - path: node_modules - key: npm-cache-test-linux-aarch64-gnu-${{ matrix.node }} - - name: Install dependencies - run: yarn install --ignore-scripts --ignore-platform --registry https://registry.npmjs.org --network-timeout 300000 - - name: Build TypeScript - run: yarn build:ts - - name: Setup and run tests - uses: addnab/docker-run-action@v3 - with: - image: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-${{ matrix.node }} - options: "-v ${{ github.workspace }}:/build -w /build" - run: | - export DISABLE_PLUGIN_E2E_TESTS=true - set -e - yarn 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 }} @@ -593,7 +550,6 @@ jobs: needs: - test-linux-x64-gnu-binding - test-linux-x64-musl-binding - - test-linux-aarch64-gnu-binding - test-linux-arm-gnueabihf-binding - test-macOS-windows-binding - test-linux-aarch64-musl-binding