diff --git a/.github/workflows/publish-packager-nodejs.yml b/.github/workflows/publish-packager-nodejs.yml index 5d4a13e5..459b4c6d 100644 --- a/.github/workflows/publish-packager-nodejs.yml +++ b/.github/workflows/publish-packager-nodejs.yml @@ -217,7 +217,7 @@ jobs: shell: bash - name: Test bindings working-directory: . - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && PACKAGER_FORMATS=deb yarn test" + run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && yarn postbuild && PACKAGER_FORMATS=deb yarn test" test-linux-x64-musl-binding: name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} needs: @@ -252,7 +252,7 @@ jobs: shell: bash - name: Test bindings working-directory: . - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && PACKAGER_FORMATS=deb yarn test" + run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && yarn postbuild && PACKAGER_FORMATS=deb yarn test" test-linux-aarch64-gnu-binding: name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} needs: @@ -297,6 +297,7 @@ jobs: export PACKAGER_FORMATS=deb set -e cd bindings/packager/nodejs + yarn postbuild yarn test ls -la test-linux-aarch64-musl-binding: @@ -337,6 +338,7 @@ jobs: export PACKAGER_FORMATS=deb set -e cd bindings/packager/nodejs + yarn postbuild yarn test test-linux-arm-gnueabihf-binding: name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} @@ -381,6 +383,7 @@ jobs: export PACKAGER_FORMATS=deb set -e cd bindings/packager/nodejs + yarn postbuild yarn test ls -la publish: