2025-03-01 09:18:18 +07:00

25 lines
507 B
YAML

name: UAParser.js CI-Test
on: [push, pull_request]
permissions:
contents: read
jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, ppc64le]
node-version: ['10.x', 'lts/*', 'node']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Run the test
run: |
npm ci
npx playwright install --with-deps
npm test