Skip to content

Commit 041846c

Browse files
authored
chore: manage node.js with pnpm (#712)
1 parent af9c58c commit 041846c

File tree

4 files changed

+124
-8
lines changed

4 files changed

+124
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ jobs:
1212
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
15-
- name: Setup Node
16-
uses: actions/setup-node@v4
17-
with:
18-
node-version-file: '.nvmrc'
1915
- name: Install pnpm
20-
run: |
21-
corepack enable
22-
corepack prepare pnpm@next-10 --activate
16+
uses: pnpm/[email protected]
17+
with:
18+
standalone: true
2319
- name: Install dependencies
2420
run: pnpm install
2521
- name: Build

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
"engines": {
3838
"node": "22"
3939
},
40+
"devEngines": {
41+
"runtime": {
42+
"name": "node",
43+
"version": "22",
44+
"onFail": "download"
45+
}
46+
},
4047
"devDependencies": {
4148
"@crowdin/crowdin-api-client": "1.48.3",
4249
"@docusaurus/types": "^3.9.1",

pnpm-lock.yaml

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)