Skip to content

Fix CI failure by replacing broken chromium npm package with setup-ch… #89

Fix CI failure by replacing broken chromium npm package with setup-ch…

Fix CI failure by replacing broken chromium npm package with setup-ch… #89

Workflow file for this run

name: Node CI
on: [push]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-latest, macos-latest]
steps:
- name: Set git to not change EoL
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Set up Chrome
uses: browser-actions/setup-chrome@v1
id: setup-chrome
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}