diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb61994d..b375c109 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node: [ 18, 20 ] + node: [ 20, 22 ] steps: - name: Clone repository uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c255b873..672a5af7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Print Node.js and npm version diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml index 6edea6ea..83e30481 100644 --- a/.github/workflows/release-management.yml +++ b/.github/workflows/release-management.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Install @@ -94,7 +94,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm registry-url: https://registry.npmjs.org @@ -127,7 +127,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdc9bbb9..082adc4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Print Node.js and npm version diff --git a/.nvmrc b/.nvmrc index 209e3ef4..2bd5a0a9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/package.json b/package.json index ae596111..f75862b6 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,17 @@ "engines": { "node": ">=20" }, + "devEngines": { + "runtime": { + "name": "node", + "version": "22.x", + "onFail": "error" + }, + "packageManager": { + "name": "npm", + "onFail": "error" + } + }, "scripts": { "build": "webpack --mode=production && webpack --mode=development", "copy": "npm run copy:css && npm run copy:js",