summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.github/workflows/create-prerelease-on-tag.yml2
-rw-r--r--.github/workflows/playwright.yml2
-rw-r--r--.node-version1
-rw-r--r--package.json3
5 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 14e909f0..4ea950b8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
- node-version-file: ".node-version"
+ node-version-file: "package.json"
- name: Install dependencies
run: npm ci
diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml
index e2758a19..beb3ff63 100644
--- a/.github/workflows/create-prerelease-on-tag.yml
+++ b/.github/workflows/create-prerelease-on-tag.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
- node-version-file: ".node-version"
+ node-version-file: "package.json"
- name: Install dependencies
run: npm ci
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 9c7bea57..613dffc7 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "npm"
- node-version-file: ".node-version"
+ node-version-file: "package.json"
- name: Install dependencies
run: npm ci
diff --git a/.node-version b/.node-version
deleted file mode 100644
index 9a2a0e21..00000000
--- a/.node-version
+++ /dev/null
@@ -1 +0,0 @@
-v20
diff --git a/package.json b/package.json
index 412eb188..b9de0673 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,9 @@
"directories": {
"test": "test"
},
+ "engines": {
+ "node": ">=20.0.0"
+ },
"type": "module",
"scripts": {
"build": "node ./dev/bin/build.js",