Skip to content

Merge pull request #61 from github/dependabot/npm_and_yarn/npm_and_ya… #90

Merge pull request #61 from github/dependabot/npm_and_yarn/npm_and_ya…

Merge pull request #61 from github/dependabot/npm_and_yarn/npm_and_ya… #90

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