Skip to content

Modernize

Modernize #9

Workflow file for this run

name: Continuous Integration
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
# See: https://gh.neting.ccmunity/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
push:
branches:
- master*
pull_request:
branches:
- master*
jobs:
build:
name: Full Build (node ${{ matrix.node_version }})
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 18.x
- 20.x
# https://stackoverflow.com/questions/61070925/github-actions-disable-auto-cancel-when-job-fails
fail-fast: false
steps:
# using `v1` because of: https://github.com/actions/checkout/issues/246
- uses: actions/checkout@v1
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- uses: pnpm/action-setup@v2.4.0
with:
version: 8.14.0
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run ci