mirror of
https://github.com/Unleash/unleash.git
synced 2026-02-04 20:10:52 +01:00
chore: bump docker image to newest node v22 (#11180)
Also updates our actions to use the node24 backed runners.
This commit is contained in:
parent
39c72576ed
commit
900351259c
4
.github/workflows/ai-flag-cleanup-pr.yml
vendored
4
.github/workflows/ai-flag-cleanup-pr.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
token: ${{ steps.app_token.outputs.token }}
|
||||
@ -140,7 +140,7 @@ jobs:
|
||||
return branchName;
|
||||
|
||||
- name: Check out new branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ steps.create_branch.outputs.result }}
|
||||
token: ${{ steps.app_token.outputs.token }}
|
||||
|
||||
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -38,9 +38,9 @@ jobs:
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
@ -55,4 +55,4 @@ jobs:
|
||||
env:
|
||||
CI: true
|
||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||
|
||||
4
.github/workflows/build_coverage.yaml
vendored
4
.github/workflows/build_coverage.yaml
vendored
@ -31,9 +31,9 @@ jobs:
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 22
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
2
.github/workflows/build_doc_prs.yaml
vendored
2
.github/workflows/build_doc_prs.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
name: build # temporary solution to trick branch protection rules
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Build docs
|
||||
env:
|
||||
UNLEASH_FEEDBACK_TARGET_URL: ${{ secrets.DOCS_FEEDBACK_TARGET_URL }}
|
||||
|
||||
4
.github/workflows/build_frontend_prs.yml
vendored
4
.github/workflows/build_frontend_prs.yml
vendored
@ -16,9 +16,9 @@ jobs:
|
||||
working-directory: frontend
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
- name: Enable corepack
|
||||
|
||||
4
.github/workflows/build_prs_jest_report.yaml
vendored
4
.github/workflows/build_prs_jest_report.yaml
vendored
@ -34,9 +34,9 @@ jobs:
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
2
.github/workflows/check_links.yaml
vendored
2
.github/workflows/check_links.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
issue-lookup-label: automated-link-issue
|
||||
issue-content: ./lychee-out.md
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Restore lychee cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
||||
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
- name: Dependency review
|
||||
uses: actions/dependency-review-action@v4
|
||||
with:
|
||||
|
||||
6
.github/workflows/docker_publish.yaml
vendored
6
.github/workflows/docker_publish.yaml
vendored
@ -28,16 +28,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: [22.17-alpine3.22]
|
||||
version: [22.21-alpine3.23]
|
||||
steps:
|
||||
- name: Checkout tag v${{ inputs.version }}
|
||||
if: ${{ inputs.version != '' }}
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: v${{ inputs.version }} # tag that should be created by the caller workflow
|
||||
- name: Checkout
|
||||
if: ${{ inputs.version == '' }}
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
|
||||
2
.github/workflows/e2e.frontend.yaml
vendored
2
.github/workflows/e2e.frontend.yaml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
run: |
|
||||
echo "$GITHUB_CONTEXT"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
- name: Build static frontend
|
||||
run: |
|
||||
cd frontend
|
||||
|
||||
4
.github/workflows/gitar-duet-action.yml
vendored
4
.github/workflows/gitar-duet-action.yml
vendored
@ -16,13 +16,13 @@ jobs:
|
||||
steps:
|
||||
- run: |
|
||||
echo '${{ toJSON(github.event) }}'
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
@ -19,16 +19,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout current branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
path: current
|
||||
- name: Checkout main branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ env.MAIN_BRANCH }}
|
||||
path: main
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
4
.github/workflows/hypermod.yml
vendored
4
.github/workflows/hypermod.yml
vendored
@ -12,11 +12,11 @@ jobs:
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run Hypermod CLI
|
||||
uses: hypermod-io/action@v1
|
||||
with:
|
||||
deploymentId: ${{ inputs.deploymentId }}
|
||||
deploymentKey: ${{ inputs.deploymentKey }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
4
.github/workflows/notify_enterprise.yaml
vendored
4
.github/workflows/notify_enterprise.yaml
vendored
@ -13,9 +13,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
6
.github/workflows/openapi-diff.yaml
vendored
6
.github/workflows/openapi-diff.yaml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
name: Generate OpenAPI (stable)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Start Unleash test instance
|
||||
run: |
|
||||
docker compose -f .github/docker-compose.test.yml up -d --wait -t 90
|
||||
@ -67,9 +67,9 @@ jobs:
|
||||
options: >-
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
- name: Install dependencies
|
||||
|
||||
8
.github/workflows/publish-new-version.yaml
vendored
8
.github/workflows/publish-new-version.yaml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GH_PUSH_TOKEN }}
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
git config user.name "Github Actions Bot"
|
||||
git config user.email "<>"
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'yarn'
|
||||
@ -114,7 +114,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: checkout main branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: main
|
||||
fetch-depth: 0
|
||||
@ -124,7 +124,7 @@ jobs:
|
||||
git config user.name "GitHub Actions Bot"
|
||||
git config user.email "<>"
|
||||
- name: Use Node js 20
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '22.x'
|
||||
cache: 'yarn'
|
||||
|
||||
2
.github/workflows/reset_heroku.yml
vendored
2
.github/workflows/reset_heroku.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install Heroku CLI
|
||||
run: |
|
||||
|
||||
4
.github/workflows/update_contributors.yaml
vendored
4
.github/workflows/update_contributors.yaml
vendored
@ -9,9 +9,9 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
- uses: actions/checkout@master
|
||||
|
||||
4
.github/workflows/validate-migrations.yaml
vendored
4
.github/workflows/validate-migrations.yaml
vendored
@ -15,9 +15,9 @@ jobs:
|
||||
test-migrations:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22.x
|
||||
cache: 'yarn'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
ARG NODE_VERSION=22.17-alpine3.22
|
||||
ARG NODE_VERSION=22.21-alpine3.23
|
||||
|
||||
FROM node:$NODE_VERSION AS builder
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user