diff --git a/.github/workflows/publish-packager-nodejs.yml b/.github/workflows/publish-packager-nodejs.yml index 56e02c34..57637a7b 100644 --- a/.github/workflows/publish-packager-nodejs.yml +++ b/.github/workflows/publish-packager-nodejs.yml @@ -240,7 +240,8 @@ jobs: run: ls -R . shell: bash - name: Test bindings - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test + working-directory: . + run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && yarn test" test-linux-x64-musl-binding: name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} needs: @@ -278,7 +279,8 @@ jobs: run: ls -R . shell: bash - name: Test bindings - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine pnpm test + working-directory: . + run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && yarn test" test-linux-aarch64-gnu-binding: name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} needs: @@ -361,7 +363,8 @@ jobs: options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build" run: | set -e - pnpm test + cd bindings/packager/nodejs + yarn test test-linux-arm-gnueabihf-binding: name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} needs: @@ -404,7 +407,8 @@ jobs: options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build" run: | set -e - pnpm test + cd bindings/packager/nodejs + yarn test ls -la publish: name: Publish