test(browser): ENG-05 add real playback projects and artifact mapping

This commit is contained in:
Harvey Zhao committed 2026-09-10 22:25:13 +08:00
1 parent 458bc3215d
commit 7318d33822
20 files changed
+1241 -9

No files matched your search

+31
View File
@@ -20,6 +20,37 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
jobs:
browser-smoke:
name: Browser playback smoke
runs-on: macos-latest
timeout-minutes: 20
env:
CI: true
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .node-version
package-manager-cache: false
- name: Install the pinned package manager and dependencies
run: |
npm install --global --force yarn@1.22.22
yarn install --frozen-lockfile --non-interactive
- name: Install test browsers
run: yarn test:browser:install
- name: Run all three engines
run: yarn test:browser
- name: Upload browser evidence
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: browser-${{ github.run_id }}-${{ github.run_attempt }}
path: refactor/.cache/browser/
include-hidden-files: true
retention-days: 14
if-no-files-found: warn
checks:
name: Checks and build
runs-on: ubuntu-latest