Check for pandoc (#265) #1491
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup pandoc | |
uses: nikeee/setup-pandoc@v1 | |
with: | |
pandoc-version: 3.1.12.2 | |
- name: npm install, build, and test | |
run: | | |
npm ci | |
npm run build --if-present | |
npm test test/csdl2markdown.test.js | |
git diff --exit-code vocabularies | |
env: | |
CI: true |