Skip to content

Bump the typescript-eslint group in /src/API with 2 updates #637

Bump the typescript-eslint group in /src/API with 2 updates

Bump the typescript-eslint group in /src/API with 2 updates #637

Workflow file for this run

name: spectral
on:
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions:
contents: read
jobs:
spectral:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Spectral
run: npm install -g @stoplight/spectral-cli
- name: Generate OpenAPI document
shell: pwsh
run: |
dotnet build ./src/API
- name: Run Spectral
run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions