Skip to content

1.8.0

1.8.0 #291

Workflow file for this run

name: Node CI
on:
push:
paths:
- '.github/workflows/nodejs.yml'
- 'dist/**/*'
- 'scripts/**/*'
- 'src/**/*'
- 'test/**/*'
- 'package.json'
- '*.js'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x, 20.x, 22.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: npm install, build, and test
run: |
npm ci
npm run test:source
npm run test:es:prod
npm run test:es:dev
npm run build
npm run test:source
npm run test:es:prod
npm run test:es:dev
- name: Generate test report
run: jest --ci --reporters=jest-junit
if: always() # to make sure it runs even if tests fail
env:
CI: true