Skip to content

Update readme & github actions #2

Update readme & github actions

Update readme & github actions #2

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Install Chromium
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser
continue-on-error: true
- name: Lint
run: npm run lint
- name: Test
run: npm test -- --browsers=ChromeHeadlessCI --watch=false