Skip to content

docs: add Action comment screenshot to README #38

docs: add Action comment screenshot to README

docs: add Action comment screenshot to README #38

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install
- run: npm run build
- name: Run unit tests
run: npm test
- name: Lint bad-ticket (expect fail)
run: |
set +e
node dist/cli.js check examples/tickets/bad-ticket.json
code=$?
if [ $code -ne 1 ]; then
echo "Expected exit 1 for bad-ticket, got $code" && exit 1
fi
- name: Lint good-ticket (expect pass)
run: node dist/cli.js check examples/tickets/good-ticket.json