Skip to content

Commit cc985eb

Browse files
authored
Modify GitHub Actions workflow for documentation
Updated the workflow to install dependencies without running prepare scripts and added steps to generate proto files and create an index for generated files.
1 parent bbdc25f commit cc985eb

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,18 @@ jobs:
4343
path: .wiki
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545

46-
- name: Install dependencies
47-
run: npm install
46+
- name: Install dependencies (without prepare script)
47+
run: npm install --ignore-scripts
48+
49+
- name: Generate proto files
50+
run: npm run proto:generate
51+
52+
- name: Create index.ts for generated files
53+
run: |
54+
echo "export * from './Main';" > src/generated/index.ts
55+
56+
- name: Build TypeScript
57+
run: npm run build
4858

4959
- name: Generate documentation
5060
run: npm run docs

0 commit comments

Comments
 (0)