diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f462f8dd52..eeb997fe16 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -61,7 +61,7 @@ jobs: sparse-checkout-cone-mode: false - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .node-version cache: yarn cache-dependency-path: yarn.lock - run: yarn diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index 4399aab6d0..a106f6e86b 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -106,7 +106,7 @@ jobs: - if: steps.commit.outputs.status > 0 uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .node-version cache: yarn cache-dependency-path: yaml-yugi/yarn.lock - if: steps.commit.outputs.status > 0 diff --git a/.github/workflows/validate-data.yaml b/.github/workflows/validate-data.yaml index d1adde65f9..4dad3bee3e 100644 --- a/.github/workflows/validate-data.yaml +++ b/.github/workflows/validate-data.yaml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: .node-version cache: yarn - run: yarn - uses: actions/setup-python@v5 diff --git a/.node-version b/.node-version new file mode 100644 index 0000000000..2bd5a0a98a --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22 diff --git a/package.json b/package.json index 6515a26434..2435350d31 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint": "eslint 'src/**/*.ts'" }, "engines": { - "node": ">=20", + "node": ">=22", "yarn": "1.22.x" }, "dependencies": { @@ -24,7 +24,7 @@ "js-yaml": "^4.1.0" }, "devDependencies": { - "@alphakretin/essentials": "^6.2.0", + "@alphakretin/essentials": "^7.0.0", "@types/js-yaml": "^4.0.9" }, "eslintConfig": {