[DO NOT MERGE] Test basic failure case for TypeScript validation #26
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: Typespec Validation | |
on: pull_request | |
jobs: | |
typespec-validation: | |
name: Typespec Validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node 20 and run `npm ci` | |
uses: ./.github/actions/setup-node-npm-ci | |
- name: Validate Impacted Specs | |
run: | | |
./eng/scripts/TypeSpec-Validation.ps1 -GitClean -Verbose | |
# Effectively the same as ignoreLASTEXITCODE: true in Azure DevOps | |
exit 0 | |
shell: pwsh |