mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
GitHub Actions: test in various node versions
This commit is contained in:
parent
178e678b15
commit
3fccce26d0
8
.github/workflows/test-ci.yml
vendored
8
.github/workflows/test-ci.yml
vendored
@ -11,12 +11,14 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [amd64, ppc64le]
|
arch: [amd64, ppc64le]
|
||||||
|
node-version: ['10.x', 'lts/*', 'node']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Run the test
|
- name: Run the test
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
|
npx playwright install --with-deps
|
||||||
npm test
|
npm test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user