We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02f8ef9 commit 58ac8eeCopy full SHA for 58ac8ee
1 file changed
.github/workflows/validate-typespec-changes.yml
@@ -0,0 +1,36 @@
1
+name: validate typespec changes
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ defaults:
13
+ run:
14
+ working-directory: additions
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Setup NodeJs
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '22.x'
22
23
+ - name: Install typescript and typespec globally
24
+ run: npm i -g typescript @typespec/compiler
25
26
+ - name: Install dependencies
27
+ run: npm ci
28
29
+ - name: build typespec
30
+ run: tsp compile .
31
32
+ - uses: actions/upload-artifact@v4
33
+ if: always()
34
35
+ name: CSDLs
36
+ path: tsp-output/*.csdl
0 commit comments