Skip to content

Commit 52e18ad

Browse files
committed
chore(ci): upgrade to node 22
1 parent c02c549 commit 52e18ad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
77
test:
88
docker:
9-
- image: cimg/node:19.7
9+
- image: cimg/node:22.10
1010
steps:
1111
# Checkout the code as the first step.
1212
- checkout
@@ -17,16 +17,17 @@ jobs:
1717
- run:
1818
name: Install pnpm package manager
1919
command: |
20-
corepack enable
21-
corepack prepare pnpm@latest-8 --activate
20+
corepack enable --install-directory ~/bin
21+
corepack prepare pnpm@latest-9 --activate
22+
pnpm config set store-dir .pnpm-store
2223
- run:
2324
name: Install dependencies
2425
command: pnpm install
2526
- save_cache:
2627
name: Save pnpm Package Cache
2728
key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
2829
paths:
29-
- node_modules
30+
- .pnpm-store
3031
- run:
3132
name: Build
3233
command: pnpm build

0 commit comments

Comments
 (0)