chore(deps-dev): bump pdfjs-dist from 3.6.172 to 4.5.136 #361
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: Node CI | |
on: | |
push: | |
paths: | |
- '.github/workflows/*' | |
- 'src/**' | |
- 'markdown.css' | |
- 'package*.json' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [16, 18] | |
os: ['ubuntu-latest', 'windows-latest', 'macOS-latest'] | |
name: Node ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.3.0 | |
- name: Use Node.js ${{ matrix.node }}.x | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: ${{ matrix.node }}.x | |
- name: install | |
run: npm install | |
- name: lint | |
run: npx xo | |
if: matrix.os == 'ubuntu-latest' | |
- name: build | |
run: npm run build | |
- name: test lib | |
run: npx nyc ava src/test/lib.spec.ts --timeout=1m | |
- name: test api | |
run: npx ava src/test/api.spec.ts --timeout=1m | |
- name: test cli | |
run: npx ava src/test/cli.spec.ts --timeout=2m | |
if: matrix.os != 'windows-latest' # because they just time out ¯\_(ツ)_/¯ |