diff --git a/.github/renovate.json5 b/.github/renovate.json5 index e6c68a638..fa2668c2f 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -19,6 +19,7 @@ 'github-actions', 'docker-compose', 'mise', + 'nvm', ], dependencyDashboard: true, branchConcurrentLimit: 3, @@ -77,6 +78,20 @@ groupSlug: 'mise', minimumReleaseAge: '2 days', }, + { + matchDepNames: [ + 'node', + 'pnpm', + ], + matchManagers: [ + 'mise', + 'npm', + 'nvm', + ], + groupName: 'node and pnpm', + groupSlug: 'node-pnpm', + minimumReleaseAge: '2 days', + }, { matchManagers: [ 'docker-compose', diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c4f773146..e3229618a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -80,7 +80,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -109,7 +109,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -140,7 +140,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -169,7 +169,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -231,7 +231,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -261,7 +261,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 55c8eab5e..4fe6f6caf 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -28,7 +28,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/jscpd.yaml b/.github/workflows/jscpd.yaml index daa6d8784..0a0a92481 100644 --- a/.github/workflows/jscpd.yaml +++ b/.github/workflows/jscpd.yaml @@ -23,7 +23,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/license-check.yaml b/.github/workflows/license-check.yaml index 8bed597b7..4037ba12e 100644 --- a/.github/workflows/license-check.yaml +++ b/.github/workflows/license-check.yaml @@ -25,7 +25,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/memlab.yaml b/.github/workflows/memlab.yaml index f685c47f8..928de9549 100644 --- a/.github/workflows/memlab.yaml +++ b/.github/workflows/memlab.yaml @@ -25,7 +25,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/mutation-test.yaml b/.github/workflows/mutation-test.yaml index ff51c1bf8..94c708d03 100644 --- a/.github/workflows/mutation-test.yaml +++ b/.github/workflows/mutation-test.yaml @@ -29,7 +29,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/prisma-deploy.yaml b/.github/workflows/prisma-deploy.yaml index dc3356a78..019b65d25 100644 --- a/.github/workflows/prisma-deploy.yaml +++ b/.github/workflows/prisma-deploy.yaml @@ -28,7 +28,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" cache: pnpm cache-dependency-path: pnpm-lock.yaml diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 63acf214d..2305f27a6 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: 24.14.1 + node-version-file: ".nvmrc" registry-url: "https://registry.npmjs.org" - name: Install dependencies diff --git a/.github/workflows/update-reports.yaml b/.github/workflows/update-reports.yaml index 4f3041650..985df22d5 100644 --- a/.github/workflows/update-reports.yaml +++ b/.github/workflows/update-reports.yaml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: "24.14.1" + node-version-file: ".nvmrc" - name: Install pnpm uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6 diff --git a/.mise.toml b/.mise.toml index 40c32967a..d709ad620 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,8 +1,10 @@ +[settings] +idiomatic_version_file_enable_tools = ["node"] + [env] _.file = ".env.local" [tools] -node = "24.15.0" pnpm = "10.33.0" doppler = { version = "3.75.3", exe = "doppler" } "npm:agent-browser" = "0.26.0" diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..5bf4400f2 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24.15.0 diff --git a/package.json b/package.json index a00241d09..6451c9b7d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "author": "s-hirano-ist", "description": "Private pages and admin tools for s-hirano-ist.", "packageManager": "pnpm@10.33.0", + "engines": { + "node": "24.x" + }, "type": "module", "scripts": { "dev": "pnpm --recursive --parallel --stream dev",