File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 workflow_dispatch :
1111
1212jobs :
13- browser :
14- name : Test Browser
13+ browser-macos :
14+ name : Test Browser on macOS
1515 runs-on : macos-latest
1616 env :
1717 GITHUB_ACTIONS_OUTPUT : " "
1818 strategy :
1919 fail-fast : false
2020 matrix :
21- browser : [chrome, firefox, safari]
21+ browser : [safari]
2222 suite : [default, disabled, main]
2323 steps :
2424 - name : Extract Week Number
2525 run : echo "WEEK_NUMBER=$(date +%W)" >> $GITHUB_ENV
2626
27- - name : Install Firefox
28- if : ${{ matrix.browser == 'firefox' }}
29- run : brew install --cask firefox
27+ - name : Checkout Branch
28+ uses : actions/checkout@v5
29+
30+ - name : Setup Node
31+ uses : actions/setup-node@v5
32+ with :
33+ node-version-file : package.json
34+ cache : npm
35+
36+ - name : Install Node Packages
37+ run : npm ci
38+
39+ - name : Run Tests
40+ run : |
41+ echo "Running in $BROWSER"
42+ npm run test:${{ matrix.browser }} -- ${{ matrix.suite }}
43+ browser-linux :
44+ name : Test Browser on Linux
45+ runs-on : ubuntu-latest
46+ env :
47+ GITHUB_ACTIONS_OUTPUT : " "
48+ strategy :
49+ fail-fast : false
50+ matrix :
51+ browser : [chrome, firefox]
52+ suite : [default, disabled, main]
53+ steps :
54+ - name : Extract Week Number
55+ run : echo "WEEK_NUMBER=$(date +%W)" >> $GITHUB_ENV
3056
3157 - name : Checkout Branch
3258 uses : actions/checkout@v5
You can’t perform that action at this time.
0 commit comments