Bump the typescript-eslint group in /src/API with 2 updates #674
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |