From 4f0b510e1f367f324a145388e13aee5710b0ac30 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 11 Jun 2024 08:53:54 +0200 Subject: [PATCH] (actions) run on node 18 & 20 (#155) * (actions) run on node 18 & 20 * (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 ff89119..12bee4f 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: 18 + node-version: 20 - name: Install run: npm ci - name: Generate docs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb69b77..3748cd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - node_version: [16, 18] + node_version: [18, 20] steps: - uses: actions/checkout@v4 env: @@ -28,7 +28,7 @@ jobs: - name: Build run: npm run build - uses: stefanzweifel/git-auto-commit-action@v5 - if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 18 }} + if: ${{ github.event_name == 'push' && endsWith(github.ref, 'develop') && matrix.node_version == 20 }} with: commit_message: Update Build file_pattern: 'build/*.js'