mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-26 23:48:46 +03:00
GitHub Actions: update node versions to be tested
This commit is contained in:
parent
3fccce26d0
commit
d1105ce4b3
8
.github/workflows/test-ci.yml
vendored
8
.github/workflows/test-ci.yml
vendored
@ -10,8 +10,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [amd64, ppc64le]
|
||||
node-version: ['10.x', 'lts/*', 'node']
|
||||
arch: [amd64]
|
||||
node-version: ['22.13', 'lts/*']
|
||||
include:
|
||||
- arch: ppc64le
|
||||
node-version: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@ -19,6 +22,7 @@ jobs:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user