- Converting Authoring Analyzeconversations of 2023-04-15-preview and 2023-04-01 version to Typespec. #5273
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 Requirement | |
on: pull_request | |
jobs: | |
TypeSpec-Requirement: | |
name: TypeSpec Requirement | |
strategy: | |
fail-fast: false | |
matrix: | |
spec-type: [data-plane, resource-manager] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Required since "HEAD^" is passed to TypeSpec-Requirement.ps1 | |
fetch-depth: 2 | |
- name: Use Node 20.0 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.0 | |
- run: npm ci | |
- run: npm ls -a | |
continue-on-error: true | |
- run: | | |
eng/scripts/TypeSpec-Requirement.ps1 ` | |
-BaseCommitish HEAD^ ` | |
-TargetCommitish HEAD ` | |
-SpecType ${{ matrix.spec-type }} | |
shell: pwsh |