1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Use ESLint directly

This commit is contained in:
Yassine Guedidi 2025-02-15 00:02:23 +01:00
parent 8e0b9d4d94
commit da0404f2b5
5 changed files with 19 additions and 2 deletions

View file

@ -55,3 +55,5 @@ To run the tests locally run `make test`.
To run the PHP formatter run `make fix-cs`.
To run the PHPStan static analysis run `make phpstan`.
To run the JS linter run `make lint-js`.

View file

@ -30,6 +30,12 @@ jobs:
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install Node"
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: 'yarn'
- name: "Setup MySQL"
run: |
sudo systemctl start mysql.service
@ -41,6 +47,9 @@ jobs:
with:
composer-options: "--optimize-autoloader --prefer-dist"
- name: "Install dependencies with Yarn"
run: yarn install
- name: "Run Composer validate"
run: "composer validate"
@ -61,3 +70,6 @@ jobs:
- name: "Run ergebnis/composer-normalize"
run: "composer normalize --dry-run --no-check-lock"
- name: "Run ESLint"
run: "yarn lint:js"