diff --git a/.github/workflows/test_node.yml b/.github/workflows/test_node.yml index f6df4911ca..5303b08440 100644 --- a/.github/workflows/test_node.yml +++ b/.github/workflows/test_node.yml @@ -96,6 +96,12 @@ jobs: if: ${{ inputs.triggered-by-release }} run: npm install --omit=optional --ignore-scripts + # --omit=optional skips native resolver bindings required by Jest 30. + # napi-postinstall installs the correct platform-specific binary. + - name: Install native bindings (for pushes to release branch) + if: ${{ inputs.triggered-by-release }} + run: npx napi-postinstall unrs-resolver + - name: Download build artifact uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # 8.0.0 with: