mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: use patched puppeteer-headful
This commit is contained in:
parent
179a0433d0
commit
d6fa6726f3
2 changed files with 6 additions and 2 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
yarn --ignore-platform --ignore-engines --frozen-lockfile --prefer-offline
|
||||
|
||||
- name: E2E Test
|
||||
uses: mujo-code/puppeteer-headful@master
|
||||
uses: mymindstorm/puppeteer-headful@8f745c770f7f4c0f9f332d7c43a775f90e53779a
|
||||
env:
|
||||
CI: 'true'
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ module.exports = {
|
|||
executablePath: process.env.PUPPETEER_EXEC_PATH,
|
||||
// required for enabling extensions
|
||||
headless: false,
|
||||
args: [`--disable-extensions-except=${CRX_PATH}`, `--load-extension=${CRX_PATH}`],
|
||||
args: [
|
||||
`--no-sandbox`,
|
||||
`--disable-extensions-except=${CRX_PATH}`,
|
||||
`--load-extension=${CRX_PATH}`,
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue