Skip to content

Commit b33a184

Browse files
committed
ci: upgrade Node.js to v20 and improve pnpm install
- Upgrade CI Node.js version from 18 to 20 LTS - Use --frozen-lockfile flag for pnpm install for better reproducibility
1 parent ce53b64 commit b33a184

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
7+
88
pull_request:
99
branches:
1010
- main
@@ -20,13 +20,13 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version: 20
2424

2525
- name: Install pnpm
26-
run: npm install -g pnpm
26+
run: npm install -g pnpm
2727

2828
- name: Install dependencies
29-
run: pnpm install
29+
run: pnpm install --frozen-lockfile
3030

3131
- name: Lint the code
3232
run: pnpm lint

0 commit comments

Comments
 (0)