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:
|
||||
matrix:
|
||||
arch: [amd64, ppc64le]
|
||||
node-version: ['10.x', 'lts/*', 'node']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Run the test
|
||||
run: |
|
||||
npm ci
|
||||
npx playwright install --with-deps
|
||||
npm test
|
||||
|
Loading…
x
Reference in New Issue
Block a user