Creating an options bag for optional parameters #1266
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: 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 and run `npm ci` | |
uses: ./.github/actions/setup-node-npm-ci | |
- name: Validate Impacted Specs | |
run: | | |
# Keep processing when errors are written. Nonzero exit will mark the | |
# step as failed. | |
$ErrorActionPreference = 'Continue' | |
./eng/scripts/TypeSpec-Validation.ps1 -GitClean -Verbose | |
shell: pwsh |