Node CI #2144
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: Node CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Setup pandoc | |
uses: nikeee/setup-pandoc@v1 | |
with: | |
pandoc-version: 3.1.13 | |
- name: Build docs | |
run: | | |
export PUPPETEER_SKIP_DOWNLOAD='true' | |
npm ci | |
npm run build | |
git diff --exit-code docs |