chore(deps-dev): bump @types/listr from 0.14.4 to 0.14.5 (#252) #311
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/[email protected] | |
- name: Use Node.js ${{ matrix.node }}.x | |
uses: actions/[email protected] | |
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 ¯\_(ツ)_/¯ |