From ebe6bd8414a00feb3cc15f3705455e08b685ee53 Mon Sep 17 00:00:00 2001 From: d-kimsuon Date: Sun, 19 Oct 2025 18:48:00 +0900 Subject: [PATCH] chore: update setup-node action to enable pnpm - Removed the pnpm installation step and replaced it with a setup command using corepack. - Ensured Node.js version 20.12.0 is still configured with pnpm caching for dependency management. --- .github/actions/setup-node/action.yml | 12 +++++------- .npmrc | 2 ++ 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .npmrc diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index a76ad36..7372943 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -3,17 +3,15 @@ description: "Install pnpm and setup Node.js with pnpm cache (fixed versions)" runs: using: "composite" steps: - - name: Install pnpm - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - with: - version: 10.8.1 - - name: Setup Node.js 20.12.0 uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: node-version: 20.12.0 - cache: pnpm + + - name: Setup pnpm + shell: bash + run: npm install -g pnpm - name: Install Dependencies shell: bash - run: pnpm install --frozen-lockfile --ignore-scripts + run: pnpm i --frozen-lockfile --ignore-scripts diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..f06c1a9 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +engine-strict=true +manage-package-manager-versions=true