From 52e18ad09e83a72c5a9eb8135e2ce674a528f15c Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Sat, 26 Oct 2024 06:26:58 +0300 Subject: [PATCH] chore(ci): upgrade to node 22 --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ea6b309b..5923b0284 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: # Below is the definition of your job to build and test your app, you can rename and customize it as you want. test: docker: - - image: cimg/node:19.7 + - image: cimg/node:22.10 steps: # Checkout the code as the first step. - checkout @@ -17,8 +17,9 @@ jobs: - run: name: Install pnpm package manager command: | - corepack enable - corepack prepare pnpm@latest-8 --activate + corepack enable --install-directory ~/bin + corepack prepare pnpm@latest-9 --activate + pnpm config set store-dir .pnpm-store - run: name: Install dependencies command: pnpm install @@ -26,7 +27,7 @@ jobs: name: Save pnpm Package Cache key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }} paths: - - node_modules + - .pnpm-store - run: name: Build command: pnpm build