Skip to content

Commit 20f0dc9

Browse files
authored
chore: bump toolchain to v4.26.0-rc2 (#146)
* chore: bump toolchain to v4.26.0-rc2 * fix: use setup-node to ensure consistent npm version in CI The previous approach of running `npm install npm` on Windows installed npm as a local package instead of updating the system npm. This caused lockfile sync errors when `npm ci` ran later in the build. Using setup-node@v4 with Node 20 ensures all platforms use a consistent, modern npm version that's compatible with the package-lock.json format.
1 parent 894c511 commit 20f0dc9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ jobs:
4040
4141
- uses: actions/checkout@v4
4242

43-
- name: Update NPM (Windows)
44-
shell: bash
45-
if: matrix.os == 'windows-latest'
46-
# See https://github.com/nodejs/node/issues/52682
47-
run: cd widget/ && npm install npm
43+
- name: Setup Node.js
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version: '20'
4847

4948
- name: Build package
5049
run: lake build ProofWidgets

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.26.0-rc1
1+
leanprover/lean4:v4.26.0-rc2

0 commit comments

Comments
 (0)