-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (42 loc) · 1.36 KB
/
webkit-browser_test.yml
File metadata and controls
50 lines (42 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: webkit-browser-check
#on: [push]
on: [pull_request]
jobs:
cypress-run:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
browser: [ webkit ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install node version 24
uses: actions/setup-node@v3
with:
node-version: '24'
- name: Install root dependencies
run: npm install
- name: Install playwright dependencies
run: npx playwright install-deps
- name: Install test dependencies
run: npm install
working-directory: ./test/webkit-test
- name: Install webkit
if: ${{ startsWith(matrix.browser, 'webkit') }}
run: npm install playwright-webkit@1.34.0
working-directory: ./test/webkit-test
- name: Cypress run
uses: cypress-io/github-action@v5
with:
quiet: true
working-directory: ./test/webkit-test
spec: cypress/e2e/*
browser: ${{ matrix.browser }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_TOKEN: ${{ secrets.DEV_EXAMPLE_7 }}
TEST_RUN_NAME: "${{ github.workflow }}—${{ runner.os }}—${{ github.ref }}"
SBVT_SCM_BRANCH: ${{ github.head_ref || github.ref_name }}
SBVT_SCM_COMMIT_ID: ${{ github.sha }}
DEBUG: TRUE