log browser options to see if env vars get passed
Some checks failed
Build and Deploy / build (push) Failing after 1m7s

This commit is contained in:
Joakim Repomaa
2026-02-19 15:15:04 +02:00
parent 5b5a135348
commit 35129a9bd2
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;
}; };