aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-10-12 13:48:55 +0200
committerGravatar GitHub <noreply@github.com> 2025-10-12 13:48:55 +0200
commit21d261f9f071621767589b27f9dd31f60da211fd (patch)
treebea32e76d79bd659f22eeb60195db2dc61d8663d
parent9ada75a7c135dcde5cc25b4edec745678e15df50 (diff)
GitHub Action: make fix-all (v3) (#8096)
Can be triggered by writting a comment: `/fix-all` Follow-up of: * https://github.com/FreshRSS/FreshRSS/pull/8094 * https://github.com/FreshRSS/FreshRSS/pull/8095 Fix `composer install` and `npm install`
-rw-r--r--.github/workflows/commands.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml
index ecd3f6ada..a0875bbb3 100644
--- a/.github/workflows/commands.yml
+++ b/.github/workflows/commands.yml
@@ -64,6 +64,27 @@ jobs:
repository: ${{ fromJSON(steps.pr.outputs.result).repo.full_name }}
ref: ${{ fromJSON(steps.pr.outputs.result).ref }}
+ - name: Use Composer cache
+ id: composer-cache
+ uses: actions/cache@v4
+ with:
+ path: vendor
+ key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-php-
+
+ - name: Run Composer install
+ run: composer install --prefer-dist --no-progress
+ if: steps.composer-cache.outputs.cache-hit != 'true'
+
+ - name: Uses Node.js
+ uses: actions/setup-node@v5
+ with:
+ node-version: lts/*
+ cache: npm
+
+ - run: npm ci
+
- name: Run make fix-all
id: fix
run: |