mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-18 05:44:21 +01:00
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:
12
.github/actions/setup-node/action.yml
vendored
12
.github/actions/setup-node/action.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user