From adf0493fb37ce1b0a272fcd07490acda022448f0 Mon Sep 17 00:00:00 2001 From: randymcmillan Date: Fri, 5 Jul 2024 12:27:37 -0400 Subject: [PATCH] .github/workflows/build.yml:node-version: ['16.x', '18.x'] --- .github/workflows/build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3787031f20..94b14a9225 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,8 @@ name: Build on: # Run the build for pushes and pull requests targeting master push: + tags: + - '**[0-9]+.[0-9]+.[0-9]+*' branches: - master pull_request: @@ -14,14 +16,17 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + strategy: + matrix: + node-version: ['16.x', '18.x'] steps: # Checkout and setup - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: ${{ matrix.node-version }} # Install and build - name: Install run: npm ci