Skip to content

test: Use source files for yaml-test-suite tests #538

test: Use source files for yaml-test-suite tests

test: Use source files for yaml-test-suite tests #538

Workflow file for this run

name: Node.js
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20, latest]
steps:
- uses: actions/checkout@v4
with: { submodules: true }
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run test:dist
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npm run lint