Skip to content

Update actions to install playwright & run build before test #215

Update actions to install playwright & run build before test

Update actions to install playwright & run build before test #215

Workflow file for this run

name: ua-parser-js-run-test
on: [push, pull_request]
permissions:
contents: read
jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- name: Run the test
run: |
npm install
npm run build
npx playwright install
npm run test-ci