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
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: env && npm run build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
PUPPETEER_BROWSER: firefox
|
||||
|
||||
@@ -34,6 +34,7 @@ const getLaunchOptions = (): LaunchOptions => {
|
||||
if (browserPath) {
|
||||
options.executablePath = browserPath;
|
||||
}
|
||||
console.log('Browser options:', options);
|
||||
return options;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user