Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,11 @@ jobs:
- name: Run tests
run: cargo test

- name: Install pnpm and Node tools
run: |
corepack enable
pnpm install
- uses: oxc-project/setup-node@4c26e7cb3605b6bdef5450dacd02c434b10fd8ba # v1.2.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep musl job on a musl-compatible Node runtime

Replacing corepack enable with oxc-project/setup-node in the Alpine-based test-musl job can make the job use a glibc Node distribution (actions/setup-node resolves linux-x64 tarballs) instead of the container’s musl Node, which can break the subsequent pnpm install/ignored-test phase on Alpine. This regression is specific to the musl container path (node:*-alpine) and is introduced by this step swap, so the musl job may start failing even though it previously worked with the image-provided Node + corepack.

Useful? React with 👍 / 👎.


# `pnpm install` prepares test bins used in snapshot tests
# Must run after setup-node so correct native binaries are installed
- run: pnpm install

- name: Run ignored tests
run: cargo test -- --ignored
Expand Down
Loading