Skip to content

refactor: convert config command to yargs format #397

refactor: convert config command to yargs format

refactor: convert config command to yargs format #397

Workflow file for this run

name: CI
on: pull_request
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# add/remove versions as we move support forward
node-version: [18]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run lint
if: ${{ runner.os == 'Linux' }} # skip Windows since line-endings will be wrong
- run: npm run test