From 06546dc5191b6d189d2d75614d01d7b77ececc4d Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 11 Jun 2024 08:46:17 +0200 Subject: [PATCH] (actions) run on node 18 & 20 (#669) * (actions) also run on node 18 & 20 * (actions) drop node 14 & 16 * (actions) generate docs on node 20 --- .github/workflows/docs.yml | 2 +- .github/workflows/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 89c27c28..12bee4f5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: npm - node-version: 16 + node-version: 20 - name: Install run: npm ci - name: Generate docs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b7a6894..abb1bbf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - node_version: [14, 16] + node_version: [18, 20] steps: - uses: actions/checkout@v4 env: @@ -30,7 +30,7 @@ jobs: - name: Test run: npm test - uses: stefanzweifel/git-auto-commit-action@v5 - if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 16 }} + if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 20 }} with: commit_message: Update Build file_pattern: 'build/*.js'