Skip to content

Fix github action def #1

Fix github action def

Fix github action def #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
env:
NODE_VERSION: ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Test build
run: npm run build
- name: Run tests
run: npm run test