Skip to content

Commit d1629b3

Browse files
fix(ci): build with pnpm instead of npm
package-lock.json was never updated after the switch to pnpm, so `npm ci` failed on the outdated lock file. Use pnpm with the up-to-date pnpm-lock.yaml, pin pnpm 11.26.0 via packageManager, move CI to Node 24 (required by pnpm 11) and drop the stale package-lock.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7d79ae5 commit d1629b3

3 files changed

Lines changed: 10 additions & 7559 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,20 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424

25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v4
27+
2528
- name: Setup Node
26-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
2730
with:
28-
node-version: '18'
31+
node-version: '24'
32+
cache: 'pnpm'
2933

3034
- name: Install dependencies
31-
run: npm ci
35+
run: pnpm install --frozen-lockfile
3236

3337
- name: Build the site
34-
run: npm run build
38+
run: pnpm run build
3539

3640
- name: Configure GitHub Pages
3741
uses: actions/configure-pages@v4

0 commit comments

Comments
 (0)