Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -589,15 +589,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
with:
version: 10

- name: Use Node.js
uses: actions/setup-node@v6
with:
# Run integration tests with the oldest supported node version.
node-version: 20
node-version: 22

- name: Checkout
uses: actions/checkout@v6
Expand All @@ -618,7 +618,9 @@ jobs:
- name: Install ReScript package
run: |
COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}"
pnpm i "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}"
# pnpm 10 blocks pkg.pr.new's URL-based platform subdependencies unless block-exotic-subdeps is disabled.
pnpm --config.block-exotic-subdeps=false i \
"https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}"
shell: bash
working-directory: ${{ steps.tmp-dir.outputs.path }}

Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ npm i "https://pkg.pr.new/rescript-lang/rescript@${PR_NUMBER}"
yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${PR_NUMBER}"

# Use pnpm
pnpm add "https://pkg.pr.new/rescript-lang/rescript@${PR_NUMBER}"
# pnpm 10 blocks pkg.pr.new's URL-based platform subdependencies unless block-exotic-subdeps is disabled.
pnpm --config.block-exotic-subdeps=false add "https://pkg.pr.new/rescript-lang/rescript@${PR_NUMBER}"
```

Then attempt to rebuild your project as you would normally.
Expand Down
Loading