Skip to content

Commit 75a8c31

Browse files
committed
fix(ci): add Node.js and pnpm setup immediately after checkout in all workflows
1 parent f4a764e commit 75a8c31

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/claude-auto-review.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ jobs:
6464
autocrlf: false
6565
persist-credentials: false
6666

67+
- name: Setup Node.js
68+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
69+
with:
70+
node-version-file: .node-version
71+
72+
- name: Setup pnpm
73+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
74+
75+
- name: Install dependencies
76+
run: pnpm install --frozen-lockfile
77+
6778
- name: Setup debug
6879
uses: SocketDev/socket-registry/.github/actions/debug@4709a2443e5a036bb0cd94e5d1559f138f05994c # main
6980
with:

.github/workflows/claude.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ jobs:
4545
autocrlf: false
4646
persist-credentials: false
4747

48+
- name: Setup Node.js
49+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
50+
with:
51+
node-version-file: .node-version
52+
53+
- name: Setup pnpm
54+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
55+
56+
- name: Install dependencies
57+
run: pnpm install --frozen-lockfile
58+
4859
- name: Setup debug
4960
uses: SocketDev/socket-registry/.github/actions/debug@4709a2443e5a036bb0cd94e5d1559f138f05994c # main
5061
with:

0 commit comments

Comments
 (0)