Skip to content

Commit 71aad69

Browse files
committed
for now, use base steps until "generate:client" is checked into package.json in main
1 parent dd0a6ad commit 71aad69

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/typespec-sync.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,13 @@ jobs:
153153
pnpm install --no-frozen-lockfile
154154
155155
cd "$PACKAGE_PATH"
156-
npm run generate:client
156+
157+
# Inline the generate:client steps so the workflow does not depend on
158+
# the target branch already having the script in package.json.
159+
npx tsp-client update -d
160+
npx prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \
161+
"src/**/*.{ts,cts,mts}" "test/**/*.{ts,cts,mts}" "samples-dev/**/*.{ts,cts,mts}" "*.{js,cjs,mjs,json}"
162+
npx dev-tool customization apply
157163
158164
# ── Step 5: Commit and push changes ──────────────────────────
159165
- name: Commit and push changes

0 commit comments

Comments
 (0)