Skip to content

Commit 896917e

Browse files
committed
chore(docs): use tsc directly in deploy workflow
To avoid closure compiler (which isn't currently available in this workflow / CI, and feels like overkill?)
1 parent f38f23d commit 896917e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy-docusaurus.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ jobs:
5151
- name: Install dependencies
5252
run: npm ci
5353

54-
- name: Build Blockly and generate reference docs
54+
- name: Generate TypeScript declarations and reference docs
5555
working-directory: ./packages/blockly
5656
run: |
57-
npm run package
57+
npx tsc -outDir build/src -declarationDir dist
58+
cp -r typings/* dist/
5859
npm run docs
5960
6061
- name: Build the Docusaurus site

0 commit comments

Comments
 (0)