From d5085436c4172305c8957aa0859d6b577e30ac2c Mon Sep 17 00:00:00 2001 From: carla-at-wiris Date: Thu, 28 May 2026 10:55:49 +0200 Subject: [PATCH] chore: Update node version --- .../cypress-Run-tests-with-npm-packages.yml | 12 ++++++------ .github/workflows/deploy-staging.yml | 15 ++++++++------- .github/workflows/jsdoc.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/cypress-Run-tests-with-npm-packages.yml b/.github/workflows/cypress-Run-tests-with-npm-packages.yml index ae600ce55..cd03362f9 100644 --- a/.github/workflows/cypress-Run-tests-with-npm-packages.yml +++ b/.github/workflows/cypress-Run-tests-with-npm-packages.yml @@ -37,13 +37,13 @@ jobs: steps: # 01. Checkout the repository. - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # 02. Install a specific version of Node using. - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v6 with: - node-version: 16 + node-version: ${{ vars.NODE_VERSION }} # 03. Install dependencies and verify Cypress - name: Install dependencies and verify Cypress @@ -79,13 +79,13 @@ jobs: steps: # 01. Checkout the repository. - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # 02. Install a specific version of Node. - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v6 with: - node-version: 16 + node-version: ${{ vars.NODE_VERSION }} # 03a. Decide whether to send data to Cypress Dashboard, or not, for workflow_dispatch and schedule. - name: Decide if we send data to Cypress 2 diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 2d1a0e592..b10d3b7ef 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -69,10 +69,10 @@ jobs: matrix: branch: ${{ fromJson(needs.prepare.outputs.branches) }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: ${{ vars.NODE_VERSION }} - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 @@ -121,7 +121,8 @@ jobs: fail-fast: false matrix: branch: ${{ fromJson(needs.prepare.outputs.branches) }} - editor: ["ckeditor4", "ckeditor5", "froala", "generic", "tinymce5", "tinymce6", "tinymce7", "tinymce8", "viewer"] + editor: + ["ckeditor4", "ckeditor5", "froala", "generic", "tinymce5", "tinymce6", "tinymce7", "tinymce8", "viewer"] framework: ["html", "vue"] exclude: - framework: vue @@ -141,10 +142,10 @@ jobs: - framework: vue editor: ckeditor4 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: ${{ vars.NODE_VERSION }} - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/jsdoc.yml b/.github/workflows/jsdoc.yml index 168d5005d..6768e4569 100644 --- a/.github/workflows/jsdoc.yml +++ b/.github/workflows/jsdoc.yml @@ -24,14 +24,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # 01. install a specific version of Node using # https://github.com/actions/setup-node - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v6 with: - node-version: 20 + node-version: ${{ vars.NODE_VERSION }} # 02. Install html-integrations dependencies - name: Install dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02aa35b4f..78def8467 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,9 +57,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 20 + node-version: ${{ vars.NODE_VERSION }} - name: Checkout uses: actions/checkout@v4