From 73ecb5da68ba19f363059a2b770fe0fa1d05b35d Mon Sep 17 00:00:00 2001 From: Elliot Goodrich Date: Thu, 3 Oct 2024 07:15:20 +0100 Subject: [PATCH] Add trimja-action 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. --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c7d75b..8f44b53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,8 +25,10 @@ jobs: - uses: seanmiddleditch/gha-setup-ninja@master - run: cd configure && npm ci - run: npm run configure + - uses: elliotgoodrich/trimja-action@6249b6da51a4cb9700ee01a850713a67009a3309 + with: + version: '0.3.0' - run: ninja -k 0 - - run: npm run docs deploy: needs: build