File tree Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Original file line number Diff line number Diff line change 71
71
-
72
72
name : Run PHPStan
73
73
run : docker compose exec -T php vendor/bin/phpstan --memory-limit=256M
74
- -
75
- name : Lint PWA
76
- run : docker compose exec -T pwa pnpm lint
77
74
78
75
# run e2e tests iso-prod
79
76
e2e-tests :
@@ -140,7 +137,7 @@ jobs:
140
137
name : Install PNPM
141
138
uses : pnpm/action-setup@v2
142
139
with :
143
- version : 8.6.2
140
+ version : 8
144
141
-
145
142
name : Cache PNPM
146
143
uses : actions/cache@v3
@@ -197,7 +194,7 @@ jobs:
197
194
with :
198
195
recursive : true
199
196
200
- # Lint API PHP files
197
+ # Lint API
201
198
-
202
199
name : PHP CS Fixer Cache
203
200
uses : actions/cache@v3
@@ -220,7 +217,30 @@ jobs:
220
217
echo "$EXTRA_ARGS" >> $GITHUB_ENV
221
218
echo "EOF" >> $GITHUB_ENV
222
219
-
223
- name : Lint API PHP Files
220
+ name : Lint API
224
221
uses : docker://oskarstark/php-cs-fixer-ga
225
222
with :
226
223
args : --config=api/.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no ${{ env.PHPCS_EXTRA_ARGS }}"
224
+
225
+ # Lint PWA
226
+ -
227
+ name : Install PNPM
228
+ uses : pnpm/action-setup@v2
229
+ with :
230
+ version : 8
231
+ -
232
+ name : Cache PNPM
233
+ uses : actions/cache@v3
234
+ with :
235
+ path : ${{ env.PNPM_HOME }}
236
+ key : ${{ runner.os }}-pnpm-${{ github.run_id }}
237
+ restore-keys : |
238
+ ${{ runner.os }}-pnpm-
239
+ -
240
+ name : Install Dependencies
241
+ working-directory : pwa
242
+ run : pnpm install
243
+ -
244
+ name : Lint PWA
245
+ working-directory : pwa
246
+ run : pnpm lint
You can’t perform that action at this time.
0 commit comments