Skip to content

Commit 1f97314

Browse files
committed
build: update node to version 20.17 and pnpm to version 9
1 parent 32c692a commit 1f97314

File tree

4 files changed

+2553
-2091
lines changed

4 files changed

+2553
-2091
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
runs-on: ubuntu-22.04
88
strategy:
99
matrix:
10-
node-version: [20]
10+
node-version: [20.17]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 9.10.0
1717
- name: Use Node.js ${{ matrix.node-version }}
1818
uses: actions/setup-node@v4
1919
with:

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict=true
2+
use-node-version=20.17.0 # Required due to an issue with pnpm: https://github.com/pnpm/pnpm/issues/4203#issuecomment-1876106073

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,8 @@
4040
"stylelint-config-standard": "^36.0.1",
4141
"typescript": "^5.5.3",
4242
"typescript-eslint": "^8.0.1"
43+
},
44+
"engines": {
45+
"node": ">=20.17"
4346
}
4447
}

0 commit comments

Comments
 (0)