Skip to content

Commit 2fdd64a

Browse files
bdfinstclaude
andcommitted
fix: update CI workflow to use npm instead of pnpm
The PR 444 migration to npm requires updating the workflow to use npm commands and npm caching instead of pnpm. Removes the redundant pnpm setup step since npm is built-in to the Node.js setup action. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 9772173 commit 2fdd64a

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@ jobs:
2020
with:
2121
submodules: recursive
2222

23-
- name: Setup pnpm
24-
uses: pnpm/action-setup@v6
25-
2623
- name: Setup Node.js
2724
uses: actions/setup-node@v6
2825
with:
2926
node-version: 24
30-
cache: 'pnpm'
27+
cache: 'npm'
3128

3229
- name: Install dependencies
33-
run: pnpm install --frozen-lockfile
30+
run: npm ci
3431

3532
- name: Setup Hugo
3633
uses: peaceiris/actions-hugo@v3
@@ -39,12 +36,12 @@ jobs:
3936
extended: true
4037

4138
- name: Run linting tests
42-
run: pnpm test
39+
run: npm test
4340

4441
- name: Build site with Hugo
4542
run: hugo -d $GITHUB_WORKSPACE/public
4643

4744
- name: Run broken links test
48-
run: pnpm run test:links
45+
run: npm run test:links
4946
env:
5047
CI: true

0 commit comments

Comments
 (0)