Skip to content

Kamboj prjwl/release network microsoft.network 2024 05 01 #8695

Kamboj prjwl/release network microsoft.network 2024 05 01

Kamboj prjwl/release network microsoft.network 2024 05 01 #8695

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: Setup Node and run `npm ci`
uses: ./.github/actions/setup-node-npm-ci
- run: |
eng/scripts/TypeSpec-Requirement.ps1 `
-BaseCommitish HEAD^ `
-TargetCommitish HEAD `
-SpecType ${{ matrix.spec-type }}
shell: pwsh