From dc6cefc2174f522a7d5ce0c8f3de2f028dbfe215 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Tue, 9 Sep 2025 15:17:31 +0200 Subject: [PATCH] Use Node v22 LTS --- .github/workflows/ci.yml | 6 +++--- .github/workflows/plan-release.yml | 2 +- .github/workflows/publish.yml | 2 +- files/.github/workflows/ci.yml | 8 ++++---- files/.github/workflows/push-dist.yml | 2 +- tests/fixtures/default/.github/workflows/ci.yml | 8 ++++---- tests/fixtures/default/.github/workflows/push-dist.yml | 2 +- tests/fixtures/pnpm/.github/workflows/ci.yml | 8 ++++---- tests/fixtures/pnpm/.github/workflows/push-dist.yml | 2 +- tests/fixtures/yarn/.github/workflows/ci.yml | 8 ++++---- tests/fixtures/yarn/.github/workflows/push-dist.yml | 2 +- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d3f3a9..b88c9ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile @@ -86,7 +86,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile @@ -108,7 +108,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/plan-release.yml b/.github/workflows/plan-release.yml index 845ac56..99443c9 100644 --- a/.github/workflows/plan-release.yml +++ b/.github/workflows/plan-release.yml @@ -54,7 +54,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - run: pnpm install --frozen-lockfile - name: "Generate Explanation and Prep Changelogs" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c02d0a4..ef2c6e8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 # This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable registry-url: 'https://registry.npmjs.org' cache: pnpm diff --git a/files/.github/workflows/ci.yml b/files/.github/workflows/ci.yml index dafe00e..a728a7c 100644 --- a/files/.github/workflows/ci.yml +++ b/files/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - uses: pnpm/action-setup@v4<% } %> - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: <%= pnpm ? 'pnpm' : yarn ? 'yarn' : 'npm' %> - name: Install Dependencies run: <%= pnpm ? 'pnpm install --frozen-lockfile' : yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %> @@ -41,7 +41,7 @@ jobs: - uses: pnpm/action-setup@v4<% } %> - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: <%= pnpm ? 'pnpm' : yarn ? 'yarn' : 'npm' %> - name: Install Dependencies run: <%= pnpm ? 'pnpm install --frozen-lockfile' : yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %> @@ -63,7 +63,7 @@ jobs: - uses: pnpm/action-setup@v4<% } %> - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: <%= pnpm ? 'pnpm' : yarn ? 'yarn' : 'npm' %> - name: Install Dependencies run: <%= pnpm ? 'pnpm install --no-lockfile' : yarn ? 'yarn install --no-lockfile' : 'npm install --no-package-lock' %> @@ -84,7 +84,7 @@ jobs: - uses: pnpm/action-setup@v4<% } %> - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: <%= pnpm ? 'pnpm' : yarn ? 'yarn' : 'npm' %> - name: Apply Scenario run: | diff --git a/files/.github/workflows/push-dist.yml b/files/.github/workflows/push-dist.yml index 72652a7..116054f 100644 --- a/files/.github/workflows/push-dist.yml +++ b/files/.github/workflows/push-dist.yml @@ -24,7 +24,7 @@ jobs: - uses: pnpm/action-setup@v4<% } %> - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: <%= pnpm ? 'pnpm' : yarn ? 'yarn' : 'npm' %> - name: Install Dependencies run: <%= pnpm ? 'pnpm install --frozen-lockfile' : yarn ? 'yarn install --frozen-lockfile' : 'npm ci' %> diff --git a/tests/fixtures/default/.github/workflows/ci.yml b/tests/fixtures/default/.github/workflows/ci.yml index df4f311..32879a6 100644 --- a/tests/fixtures/default/.github/workflows/ci.yml +++ b/tests/fixtures/default/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Dependencies run: npm ci @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Dependencies run: npm ci @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Dependencies run: npm install --no-package-lock @@ -80,7 +80,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Apply Scenario run: | diff --git a/tests/fixtures/default/.github/workflows/push-dist.yml b/tests/fixtures/default/.github/workflows/push-dist.yml index f56011d..dfd3454 100644 --- a/tests/fixtures/default/.github/workflows/push-dist.yml +++ b/tests/fixtures/default/.github/workflows/push-dist.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Dependencies run: npm ci diff --git a/tests/fixtures/pnpm/.github/workflows/ci.yml b/tests/fixtures/pnpm/.github/workflows/ci.yml index 82d20a8..1961de9 100644 --- a/tests/fixtures/pnpm/.github/workflows/ci.yml +++ b/tests/fixtures/pnpm/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile @@ -41,7 +41,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile @@ -63,7 +63,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --no-lockfile @@ -84,7 +84,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Apply Scenario run: | diff --git a/tests/fixtures/pnpm/.github/workflows/push-dist.yml b/tests/fixtures/pnpm/.github/workflows/push-dist.yml index 65d296b..bdfa5b5 100644 --- a/tests/fixtures/pnpm/.github/workflows/push-dist.yml +++ b/tests/fixtures/pnpm/.github/workflows/push-dist.yml @@ -24,7 +24,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: pnpm - name: Install Dependencies run: pnpm install --frozen-lockfile diff --git a/tests/fixtures/yarn/.github/workflows/ci.yml b/tests/fixtures/yarn/.github/workflows/ci.yml index 259fbe8..3b1d325 100644 --- a/tests/fixtures/yarn/.github/workflows/ci.yml +++ b/tests/fixtures/yarn/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install Dependencies run: yarn install --frozen-lockfile @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install Dependencies run: yarn install --frozen-lockfile @@ -53,7 +53,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install Dependencies run: yarn install --no-lockfile @@ -82,7 +82,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install Dependencies run: yarn install --frozen-lockfile diff --git a/tests/fixtures/yarn/.github/workflows/push-dist.yml b/tests/fixtures/yarn/.github/workflows/push-dist.yml index a739efe..796b017 100644 --- a/tests/fixtures/yarn/.github/workflows/push-dist.yml +++ b/tests/fixtures/yarn/.github/workflows/push-dist.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: yarn - name: Install Dependencies run: yarn install --frozen-lockfile