Separate use-cases, quick start pages: (asciidoctor#652) (asciidoctor#654) #862
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
node-version: | |
- 18 | |
- 20 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# libgbm-dev is required by Puppeteer 3+ | |
- name: Install system dependencies | |
run: | | |
sudo apt-get install -y libgbm-dev | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Lint, build and test | |
run: | | |
npm run build | |
npm run lint:firefox | |
npm t | |
build-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: | |
- 18 | |
- 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Lint, build and test | |
run: | | |
npm run build | |
npm t |