Skip to content

Commit 4b5680c

Browse files
committed
test
1 parent 602140c commit 4b5680c

File tree

3 files changed

+11557
-8005
lines changed

3 files changed

+11557
-8005
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
TZ: UTC
99
PHP_VERSION: 7.3
10-
NODE_VERSION: 12.x
10+
NODE_VERSION: 16.x # Mise à jour vers une version LTS de Node.js
1111

1212
jobs:
1313
php:
@@ -26,10 +26,6 @@ jobs:
2626
- name: Lint Symfony's translations files
2727
script: bin/console lint:xliff translations
2828

29-
# Available in Symfony 4.4, see https://symfony.com/blog/new-in-symfony-4-4-service-container-linter
30-
# - name: Lint Symfony's container
31-
# script: bin/console lint:container
32-
3329
steps:
3430
- uses: actions/checkout@v2
3531

@@ -42,11 +38,12 @@ jobs:
4238
ini-values: date.timezone=${{ env.TZ }}, memory_limit=-1, session.gc_probability=0, opcache.enable=1, opcache.enable_cli=1, opcache.memory_consumption=256, opcache.max_accelerated_files=20000, opcache.validate_timestamps=0, realpath_cache_size=4096K, realpath_cache_ttl=600
4339

4440
- name: Cache Composer dependencies
45-
uses: actions/cache@v2
41+
uses: actions/cache@v3
4642
with:
47-
path: $(composer config cache-files-dir)
43+
path: ~/.composer/cache
4844
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
49-
restore-keys: ${{ runner.os }}-composer-
45+
restore-keys: |
46+
${{ runner.os }}-composer-
5047
5148
- name: Install dependencies
5249
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
@@ -69,21 +66,21 @@ jobs:
6966

7067
steps:
7168
- name: Install Node.js
72-
uses: actions/setup-node@v2-beta
69+
uses: actions/setup-node@v2
7370
with:
7471
node-version: ${{ env.NODE_VERSION }}
7572

7673
- uses: actions/checkout@v2
7774

7875
- name: Cache node_modules
79-
uses: actions/cache@v2
76+
uses: actions/cache@v3
8077
with:
81-
path: $(yarn cache dir)
78+
path: ~/.yarn/cache
8279
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
8380
restore-keys: |
8481
${{ runner.os }}-node-modules-
8582
8683
- run: yarn install --frozen-lockfile
8784

8885
- name: Tests
89-
run: "${{ matrix.test.script }}"
86+
run: "${{ matrix.test.script }}"

0 commit comments

Comments
 (0)