Skip to content

Commit f9b450e

Browse files
committed
chore: use pnpm in gh
1 parent 161805c commit f9b450e

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/test.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,25 @@ jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v6
15+
- name: Checkout
16+
uses: actions/checkout@v6
1617
with:
1718
submodules: true
18-
- name: Set up Node.js
19-
uses: actions/setup-node@v6
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
25+
with:
26+
node-version: 24.14.0
27+
cache: 'pnpm'
28+
2029
- name: Set up Python
2130
uses: actions/setup-python@v6
2231
- name: Run import_and_patch_translators
2332
run: python3 scripts/import_and_patch_translators.py
2433
- name: Install dependencies
25-
run: npm install
34+
run: pnpm install
2635
- name: Run tests
27-
run: npm test
36+
run: pnpm test

0 commit comments

Comments
 (0)