Schema sync 2025-10-14 from 1.4.228.0 (#907) #158
This file contains hidden or 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: validate typespec changes | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: additions | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Setup NodeJs | |
uses: actions/setup-node@v5 | |
with: | |
node-version: '22.x' | |
- name: Install typescript and typespec globally | |
run: npm i -g typescript @typespec/compiler | |
- name: Install dependencies | |
run: npm ci | |
- name: build typespec | |
run: tsp compile . | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: CSDLs | |
path: tsp-output/*.csdl |