This commit is contained in:
@@ -14,16 +14,17 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Chrome
|
||||
uses: browser-actions/setup-chrome@v2
|
||||
with:
|
||||
chrome-version: stable
|
||||
- name: Install firefox runtime dependencies
|
||||
run: apt-get update && apt-get install -y libgtk-3-0 libasound2 libx11-xcb1
|
||||
|
||||
- name: Setup Firefox
|
||||
id: setup-firefox
|
||||
uses: browser-actions/setup-firefox@v1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -32,6 +33,8 @@ jobs:
|
||||
run: npm run build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
PUPPETEER_BROWSER: firefox
|
||||
PUPPETEER_EXECUTABLE_PATH: ${{ steps.setup-firefox.outputs.firefox-path }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v6
|
||||
|
||||
Reference in New Issue
Block a user