Skip to content

Lock file maintenance (#51) #277

Lock file maintenance (#51)

Lock file maintenance (#51) #277

Workflow file for this run

on:
push:
branches:
- main
- fork
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm run lint
test:
name: test (${{ matrix.os }}, node ${{ matrix.node-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20, 22, 23]
steps:
- name: Normalise line-ending handling in Git
shell: bash
run: |
git config --global core.autocrlf false
if: runner.os == 'Windows'
- name: Disable AppArmor User Namespace Restrictions
(required to open Chrome on Ubuntu 23.10+ without --no-sandbox)
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
if: runner.os == 'Linux'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test