Skip to content

refactor: compose options and logger in CLI, decycle #261

refactor: compose options and logger in CLI, decycle

refactor: compose options and logger in CLI, decycle #261

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
node:
- '18'
- '16'
package:
- base
- core
- csvw
- formats
- ftp
- graph-store
- http
- rdf
- sparql
- validation
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx c8 --all --src packages/${{ matrix.package }} -x "packages/!(${{ matrix.package }})" --reporter lcovonly --reporter text wsrun --no-prefix -p barnard59-${{ matrix.package }} -c test
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: barnard59-${{ matrix.package }}
test-cli:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
node:
- '18'
- '16'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx c8 --all --src packages/cli -x "packages/!(cli)" --reporter lcovonly --reporter text wsrun --no-prefix -p barnard59 -c test
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: barnard59
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run lint