mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 18:23:52 -04:00
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`
This commit is contained in:
committed by
GitHub
parent
9ada75a7c1
commit
21d261f9f0
21
.github/workflows/commands.yml
vendored
21
.github/workflows/commands.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user