Skip to content

add improved version browserstack.js #13

add improved version browserstack.js

add improved version browserstack.js #13

Workflow file for this run

name: CI
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: ''
- run: npm i
- run: npx playwright install --with-deps
- run: npx playwright test -c github-actions-summary || exit 0
- name: Show Summary
run: cat .temp/summary.html >> $GITHUB_STEP_SUMMARY
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: .temp