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: