Skip to content

chore: switch out spectral for vacuum #144

chore: switch out spectral for vacuum

chore: switch out spectral for vacuum #144

Workflow file for this run

name: Lint
"on":
pull_request: {}
push:
branches: [main]
paths-ignore:
- 'README.md'
- 'src/**'
jobs:
build:
name: API Linting
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
# To report junit results to PR
checks: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Lint API
run: npm exec vacuum report --junit openapi.yaml lint-results
- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
if: success() || failure() # always run even if the previous step fails
with:
report_paths: lint-results-*.xml
check_name: API Lint Results