Version Policy Update - Node 22 to 24

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-12-08 10:47:33 +01:00
parent bdee20e91f
commit 2bae83ab2e
54 changed files with 270 additions and 219 deletions
+2 -2
View File
@@ -29,13 +29,13 @@ jobs:
- name: setup-node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: linux-v20
cache-prefix: linux-v22
- name: breaking changes check
run: |
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
name: Verify ${{ matrix.node-version }}
steps:
@@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
name: Test ${{ matrix.node-version }}
steps:
+3 -3
View File
@@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true
@@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true
@@ -154,7 +154,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
name: Test ${{ matrix.node-version }}
services:
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x]
node-version: [22.x]
steps:
- name: Harden Runner
+8 -8
View File
@@ -58,16 +58,16 @@ jobs:
with:
ref: refs/tags/${{ steps.find-release.outputs.result }}
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: build API reference
run: yarn build:api-docs
@@ -142,16 +142,16 @@ jobs:
- name: checkout master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: build API reference
run: yarn build:api-docs
@@ -244,10 +244,10 @@ jobs:
with:
egress-policy: audit
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
# Stable docs
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
services:
postgres18:
@@ -147,7 +147,7 @@ jobs:
strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
steps:
- name: Harden Runner
+3 -3
View File
@@ -28,13 +28,13 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: Run migration analysis
id: analysis
@@ -62,7 +62,7 @@ jobs:
issue_number: issueNumber,
body: reportBody
});
console.log(`✅ Successfully updated issue #${issueNumber}`);
} catch (error) {
console.error(`❌ Error updating issue: ${error.message}`);
+3 -3
View File
@@ -15,16 +15,16 @@ jobs:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: Checkout backstage/docs-ui
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+3 -3
View File
@@ -18,16 +18,16 @@ jobs:
# 'v' prefix is added here for the tag, we keep it out of the manifest logic
ref: v${{ github.event.client_payload.version }}
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: Build yarn plugin
working-directory: packages/yarn-plugin
@@ -18,15 +18,15 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: Create Snyk report
uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # master
+3 -3
View File
@@ -25,14 +25,14 @@ jobs:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: run Lighthouse CI
run: |
yarn dlx @lhci/cli@0.11.x autorun
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
node-version: [22.x]
name: Chromatic
steps:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
name: E2E Linux ${{ matrix.node-version }}
steps:
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true
@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
name: E2E Windows ${{ matrix.node-version }}
steps:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true
+8 -8
View File
@@ -63,16 +63,16 @@ jobs:
with:
ref: refs/tags/${{ steps.find-release.outputs.result }}
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: build API reference
run: yarn build:api-docs
@@ -144,16 +144,16 @@ jobs:
- name: checkout master
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
with:
cache-prefix: ${{ runner.os }}-v20.x
cache-prefix: ${{ runner.os }}-v22.x
- name: build API reference
run: yarn build:api-docs
@@ -240,10 +240,10 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: '3.9'
@@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
node-version: 22.x
- name: top-level install
run: yarn install --immutable
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]
env:
CI: true