File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 77 branches : [main]
88
99env :
10- # Installing Chrome is not required for linting files.
11- PUPPETEER_SKIP_DOWNLOAD : true
1210 # Output colored text
1311 FORCE_COLOR : 1
1412
Original file line number Diff line number Diff line change 4141 run :
4242 echo 0 | sudo tee
4343 /proc/sys/kernel/apparmor_restrict_unprivileged_userns
44+ - name : Install Chrome
45+ run : pnpm install-chrome-for-puppeteer
4446 - name : Run tests
4547 run : pnpm test
Original file line number Diff line number Diff line change 3838 "format" : " prettier --write ." ,
3939 "lint" : " tsc && eslint && prettier --check ." ,
4040 "test" : " node --test --test-reporter spec test/test.js" ,
41- "test:update-snapshots" : " node --test --test-reporter spec --test-update-snapshots test/test.js"
41+ "test:update-snapshots" : " node --test --test-reporter spec --test-update-snapshots test/test.js" ,
42+ "install-chrome-for-puppeteer" : " puppeteer browsers install chrome"
4243 },
4344 "dependencies" : {
4445 "chokidar" : " ^4.0.3" ,
Original file line number Diff line number Diff line change 1- onlyBuiltDependencies :
2- - puppeteer
1+ # Reduce risk of installing compromised packages by only installing packages
2+ # that are at least a day old.
3+ minimumReleaseAge : 1440
You can’t perform that action at this time.
0 commit comments