Skip to content

Update CI

Update CI #66

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [$default-branch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run headless test
uses: coactions/setup-xvfb@v1
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
with:
run: npm run test:ci