Skip to content

Commit

Permalink
Add trimja-action
Browse files Browse the repository at this point in the history
Add trimja-action to install, setup, and use trimja to reduce the
amount of work needed to do on CI.

We have to remove the `npm run docs` part as this depends on building
part of the project, which may have been removed with trimja.  We should
add an option to trimja-action to be able to include additional affected
entries and then we can pass `prep-for-docs` too.
  • Loading branch information
elliotgoodrich committed Oct 8, 2024
1 parent 301499f commit 2328cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- uses: seanmiddleditch/gha-setup-ninja@master
- run: cd configure && npm ci
- run: npm run configure
- name: Run trimja
uses: elliotgoodrich/trimja-action@release
- run: ninja -k 0
- run: npm run docs

deploy:
needs: build
Expand Down
1 change: 1 addition & 0 deletions guides/typedoc.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "Guides",
"projectDocuments": [
"Why Ninjutsu Build.md",
"Tutorial.md",
"Ninjutsu Build Extras.md",
"How to Write a Plugin.md",
],
Expand Down

0 comments on commit 2328cb5

Please sign in to comment.