File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -378,9 +378,6 @@ jobs:
378
378
with :
379
379
node-version : " 14"
380
380
381
- - name : Install playwright OS dependencies
382
- run : npx playwright install-deps
383
-
384
381
- name : Fetch dependencies from cache
385
382
id : cache-yarn
386
383
uses : actions/cache@v2
@@ -406,15 +403,6 @@ jobs:
406
403
if : steps.cache-yarn.outputs.cache-hit != 'true'
407
404
run : yarn --frozen-lockfile
408
405
409
- # HACK: this shouldn't need to exist, but put it here anyway
410
- # in an attempt to solve Playwright cache failures.
411
- - name : Reinstall playwright
412
- if : steps.cache-yarn.outputs.cache-hit == 'true'
413
- run : |
414
- cd test/
415
- rm -r node_modules/playwright
416
- yarn install --check-files
417
-
418
406
- name : Run end-to-end tests
419
407
run : yarn test:e2e
420
408
Original file line number Diff line number Diff line change 1
1
{
2
2
"license" : " MIT" ,
3
3
"#" : " We must put jest in a sub-directory otherwise VS Code somehow picks up the types and generates conflicts with mocha." ,
4
+ "scripts" : {
5
+ "postinstall" : " ./node_modules/bin/playwright install-deps"
6
+ },
4
7
"devDependencies" : {
5
8
"@playwright/test" : " ^1.12.1" ,
6
9
"@types/jest" : " ^27.0.2" ,
You can’t perform that action at this time.
0 commit comments