Skip to content

Require at least Node 20 #34

Require at least Node 20

Require at least Node 20 #34

Workflow file for this run

name: Test deployment
on:
pull_request:
branches:
- main
defaults:
run:
working-directory: ./website
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: './website/package-lock.json'
- name: Install dependencies
run: npm ci
- name: Test build website
run: npm run build
continue-on-error: false