devops: add bots for other browsers/platforms (#174)

This commit is contained in:
Yury Semikhatsky
2025-04-15 13:16:56 -07:00
committed by GitHub
parent 795a9d578a
commit 0d6bb2f547
6 changed files with 38 additions and 6 deletions

View File

@@ -8,7 +8,11 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@@ -25,6 +29,10 @@ jobs:
- name: Playwright install
run: npx playwright install --with-deps
- name: Install MS Edge
if: ${{ matrix.os == 'macos-latest' }} # MS Edge is not preinstalled on macOS runners.
run: npx playwright install msedge
- name: Run linting
run: npm run lint

View File

@@ -18,7 +18,7 @@ jobs:
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run lint
- run: npm run test
- run: npm run ctest
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}