Skip to content

Commit

Permalink
.github/workflows/build.yml:node-version: ['16.x', '18.x']
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Jul 5, 2024
1 parent 5f001e7 commit adf0493
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit adf0493

Please sign in to comment.