Skip to content

Commit 15a6835

Browse files
committed
ci: update Node.js version to 22 and add optional dependencies for Rollup
1 parent 1b43448 commit 15a6835

File tree

4 files changed

+273
-2
lines changed

4 files changed

+273
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: "24"
18+
node-version: "22"
1919
registry-url: "https://registry.npmjs.org/"
2020

2121
- name: Install dependencies

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: "24"
20+
node-version: "22"
2121
cache: "npm"
2222

2323
- name: Install dependencies

package-lock.json

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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
"optional": true
5656
}
5757
},
58+
"optionalDependencies": {
59+
"@rollup/rollup-linux-x64-gnu": "*"
60+
},
5861
"devDependencies": {
5962
"@eslint/compat": "^1.2.4",
6063
"@eslint/eslintrc": "^3.2.0",

0 commit comments

Comments
 (0)