log browser options to see if env vars get passed
Some checks failed
Build and Deploy / build (push) Failing after 1m7s
Some checks failed
Build and Deploy / build (push) Failing after 1m7s
This commit is contained in:
@@ -24,13 +24,12 @@ jobs:
|
|||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: env && npm run build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
PUPPETEER_BROWSER: firefox
|
PUPPETEER_BROWSER: firefox
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ const getLaunchOptions = (): LaunchOptions => {
|
|||||||
if (browserPath) {
|
if (browserPath) {
|
||||||
options.executablePath = browserPath;
|
options.executablePath = browserPath;
|
||||||
}
|
}
|
||||||
|
console.log('Browser options:', options);
|
||||||
return options;
|
return options;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user