mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
ci: update symfony.yml
This commit is contained in:
12
.github/workflows/symfony.yml
vendored
12
.github/workflows/symfony.yml
vendored
@@ -11,7 +11,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
symfony:
|
symfony:
|
||||||
name: Symfony Check
|
name: CI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -43,14 +43,6 @@ jobs:
|
|||||||
- name: Run PHPUnit
|
- name: Run PHPUnit
|
||||||
run: vendor/bin/phpunit --coverage-text
|
run: vendor/bin/phpunit --coverage-text
|
||||||
|
|
||||||
frontend:
|
|
||||||
name: Frontend Check
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: symfony
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Cache Node modules
|
- name: Cache Node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@@ -60,7 +52,7 @@ jobs:
|
|||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install frontend dependencies
|
||||||
run: yarn install
|
run: npm install --global yarn && yarn install
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: yarn run eslint
|
run: yarn run eslint
|
||||||
|
|||||||
Reference in New Issue
Block a user