Skip to content

Commit

Permalink
Added pre-commit script
Browse files Browse the repository at this point in the history
  • Loading branch information
hars-21 committed Jan 21, 2025
1 parent 109cd42 commit 7cd1b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,11 @@ jobs:

# Run Docusaurus in the ./docs directory
- name: Install dependencies
working-directory: ../docs
working-directory: ./docs
run: npm install

- name: Test building the website
working-directory: ../docs
working-directory: ./docs
run: npm run build

Validate-Coderabbit:
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
"typecheck": "tsc",
"generate-docs": "flutter pub global run dartdoc . --output docs/docs/auto-docs"
},
"dependencies": {
"@docusaurus/core": "3.6.3",
Expand Down

0 comments on commit 7cd1b0a

Please sign in to comment.