Skip to content

Commit 44c0f64

Browse files
committed
changed GitHub actions to use pnpm
1 parent d9a9e5a commit 44c0f64

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/astro-build-deploy.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ jobs:
2121

2222
- uses: actions/configure-pages@v5
2323

24+
- uses: pnpm/action-setup@v4
25+
with:
26+
run_install: false
27+
2428
- uses: actions/setup-node@v6
2529
with:
2630
node-version: 22.x
27-
cache: npm
31+
cache: pnpm
2832

29-
- run: npm ci
30-
- run: npm run lint
31-
- run: npm run format:check
32-
- run: npm run build
33+
- run: pnpm install --frozen-lockfile
34+
- run: pnpm run lint
35+
- run: pnpm run format:check
36+
- run: pnpm run build
3337

3438
- uses: actions/upload-pages-artifact@v4
3539
with:

0 commit comments

Comments
 (0)