diff --git a/.github/workflows/publish-packager-nodejs.yml b/.github/workflows/publish-packager-nodejs.yml index c72c2205..56e02c34 100644 --- a/.github/workflows/publish-packager-nodejs.yml +++ b/.github/workflows/publish-packager-nodejs.yml @@ -240,7 +240,7 @@ jobs: run: ls -R . shell: bash - name: Test bindings - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim pnpm test + run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test test-linux-x64-musl-binding: name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} needs: @@ -322,7 +322,7 @@ jobs: options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build" run: | set -e - pnpm test + yarn test ls -la test-linux-aarch64-musl-binding: name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }} diff --git a/bindings/packager/nodejs/package.json b/bindings/packager/nodejs/package.json index 4c2273af..308a8918 100644 --- a/bindings/packager/nodejs/package.json +++ b/bindings/packager/nodejs/package.json @@ -45,7 +45,7 @@ "build": "pnpm build-ts && napi build --platform --profile release-size-optimized", "build:debug": "napi build --platform && pnpm build-ts", "prepublishOnly": "napi prepublish -t npm --gh-release-id $RELEASE_ID", - "pretest": "pnpm build-ts", + "pretest": "npm run build-ts", "test": "ava --no-worker-threads", "universal": "napi universal", "version": "napi version"