Skip to content

Commit 8d0f0bb

Browse files
committed
Work on build workflow
1 parent 8dabc9e commit 8d0f0bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
node-version: '20'
2424
cache: 'npm'
25-
- run: npm ci
25+
- run: npm run compile
2626
- name: Compile TypeSpec
2727
run: tsp compile src/main.tsp --emit @typespec/openapi3
2828
- name: Fix OpenAPI

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "graph.community.spclient",
33
"version": "5.3.0",
44
"type": "module",
5+
"scripts": {
6+
"compile": "tsp compile src/main.tsp"
7+
},
58
"peerDependencies": {
69
"@typespec/compiler": "latest",
710
"@typespec/http": "latest",

0 commit comments

Comments
 (0)