Skip to content

Commit 26091fd

Browse files
authored
chore: revert back to use unified Node and pnpm setup action (#151)
1 parent 15436b9 commit 26091fd

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v7
1111

12-
- uses: pnpm/action-setup@v4.4.0
13-
with:
14-
version: 10
15-
16-
- uses: actions/setup-node@v6
12+
- name: Setup Node and pnpm
13+
uses: silverhand-io/actions-node-pnpm-run-steps@v5
1714
with:
1815
node-version: 22.23.1
19-
registry-url: https://registry.npmjs.org/
20-
cache: 'pnpm'
16+
pnpm-version: 10
2117

2218
- name: Build
23-
run: pnpm i && pnpm build
19+
run: pnpm build
2420

2521
- name: Deploy
2622
uses: cloudflare/wrangler-action@v4

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v7
1313

14-
- uses: pnpm/action-setup@v4.4.0
15-
with:
16-
version: 10
17-
18-
- uses: actions/setup-node@v6
14+
- name: Setup Node and pnpm
15+
uses: silverhand-io/actions-node-pnpm-run-steps@v5
1916
with:
2017
node-version: 22.23.1
21-
registry-url: https://registry.npmjs.org/
22-
cache: 'pnpm'
18+
pnpm-version: 10
2319

2420
- name: Build
25-
run: pnpm i && pnpm build
21+
run: pnpm build
2622

2723
- name: Test
2824
run: pnpm test

0 commit comments

Comments
 (0)