mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
29 lines
676 B
YAML
29 lines
676 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]
|
|
node-version: ['22.13', 'lts/*']
|
|
include:
|
|
- arch: ppc64le
|
|
node-version: 20
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Run the test
|
|
run: |
|
|
echo "Running on ubuntu-latest-${{ matrix.arch }} with node version set as ${{ matrix.node-version }}"
|
|
npm ci
|
|
npx playwright install --with-deps
|
|
npm test
|