From 9932edd6d07872d66a9b9b5aff9bd0adc1bca656 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Wed, 27 Nov 2024 17:20:28 +0100 Subject: [PATCH] ci: bump node version to 22 --- .github/actions/install/action.yaml | 2 +- .github/workflows/build.yaml | 2 +- .github/workflows/deploy-docker.yml | 2 +- .github/workflows/pull-request.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/install/action.yaml b/.github/actions/install/action.yaml index d99a125f..20a7d98a 100644 --- a/.github/actions/install/action.yaml +++ b/.github/actions/install/action.yaml @@ -6,7 +6,7 @@ runs: steps: - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Installing dependencies run: npm ci shell: bash diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f8a70c08..9b07e6c5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Install deps, lint, build and test project uses: ./.github/actions/install # Every push to main deploys to staging diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index 609b1844..08b978a6 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -25,7 +25,7 @@ jobs: # Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Installing dependencies run: npm ci shell: bash diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 42cd6c27..043a7d2c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Install deps, lint, build and test project uses: ./.github/actions/install - name: Deploy PR Preview