Skip to content

8.18 branch

8.18 branch #396

Workflow file for this run

---
name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
- name: Install
run: |
npm install
- name: Build
run: |
npm run build
- name: Lint
run: |
npm run lint
- name: Prettier
run: |
npm run prettier
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
- name: Install
run: |
npm install
- name: Build documentation
run: |
npm run docs
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
npm install
- name: Build
run: |
npm run build
- name: Tests
run: |
npm run test