Skip to content

Commit 91479b2

Browse files
authored
ci: use oxc-project/setup-node (oxc-project#536)
1 parent ecba88b commit 91479b2

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

.github/actions/pnpm/action.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,7 @@ description: Install pnpm
55
runs:
66
using: composite
77
steps:
8-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
9-
10-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
11-
with:
12-
node-version-file: .node-version
13-
cache: pnpm
14-
15-
- name: pnpm
16-
shell: bash
17-
run: |
18-
corepack enable
19-
pnpm install
8+
- uses: oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
209

2110
- name: yarn
2211
shell: bash

.github/workflows/release-napi.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,7 @@ jobs:
198198
steps:
199199
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
200200

201-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
202-
203-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
204-
with:
205-
node-version-file: .node-version
206-
registry-url: "https://registry.npmjs.org"
207-
cache: pnpm
208-
209-
- run: pnpm install --frozen-lockfile
201+
- uses: oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
210202

211203
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
212204
with:

0 commit comments

Comments
 (0)