Skip to content

Use Node 22 (current LTS) for development #218

Use Node 22 (current LTS) for development

Use Node 22 (current LTS) for development #218

Workflow file for this run

name: Build
on: [ pull_request ]
jobs:
build:
name: Build distribution CSS and JS
runs-on: ubuntu-20.04
strategy:
matrix:
node: [ 20, 22 ]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Print Node.js and npm version
run: node --version && npm --version
- name: Install
run: npm ci
- name: Build
run: npm run build