mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
25 lines
507 B
YAML
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
|