Skip to content

Adjust versions of Node.js in test matrix #16

Adjust versions of Node.js in test matrix

Adjust versions of Node.js in test matrix #16

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
name: Node.js ${{ matrix.node-version }}
steps:
- name: Checkout the project
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build the project
run: npm run build --if-present