From 0e1e7ec8f57e4080da3e606e4f9356f48916a631 Mon Sep 17 00:00:00 2001 From: kobenguyent <7845001+kobenguyent@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:53:17 +0100 Subject: [PATCH] fix(ci): tune workflows (#390) --- .github/workflows/ci.yml | 8 ++++++-- .github/workflows/docs.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 368f5882b..495b70801 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI on: [pull_request] + +env: + NODE_VERSION: 20 + jobs: test: runs-on: ubuntu-latest @@ -7,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ env.NODE_VERSION }} cache: 'npm' - name: Install dependencies @@ -22,7 +26,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: ${{ env.NODE_VERSION }} cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 72e3b6dae..ed3c63e01 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20.x' cache: 'npm' - uses: webfactory/ssh-agent@v0.7.0 with: