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.
This commit is contained in:
d-kimsuon
2025-10-19 18:48:00 +09:00
parent fd245fd153
commit ebe6bd8414
2 changed files with 7 additions and 7 deletions

View File

@@ -3,17 +3,15 @@ description: "Install pnpm and setup Node.js with pnpm cache (fixed versions)"
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
version: 10.8.1
- name: Setup Node.js 20.12.0 - name: Setup Node.js 20.12.0
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with: with:
node-version: 20.12.0 node-version: 20.12.0
cache: pnpm
- name: Setup pnpm
shell: bash
run: npm install -g pnpm
- name: Install Dependencies - name: Install Dependencies
shell: bash shell: bash
run: pnpm install --frozen-lockfile --ignore-scripts run: pnpm i --frozen-lockfile --ignore-scripts

2
.npmrc Normal file
View File

@@ -0,0 +1,2 @@
engine-strict=true
manage-package-manager-versions=true