v9.2.1 #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BrowserTests | |
on: [push] | |
env: | |
PLAYWRIGHT_BROWSERS_PATH: 0 | |
NODE_VERSION: 20 | |
FORCE_COLOR: 3 | |
jobs: | |
test: | |
strategy: | |
max-parallel: 1 | |
matrix: | |
browser: [chromium, firefox] | |
# browser: [chromium, firefox, webkit] | |
# os: [macos-latest, windows-latest, ubuntu-latest] | |
os: [macos-latest] | |
exclude: | |
- browser: webkit | |
os: windows-latest | |
# - browser: webkit | |
# os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "npm" | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Browser Test Development Chrome (Mocked) | |
if: startsWith(matrix.browser, 'chromium') | |
run: npm run browser-tests:local-mocked-chrome | |
- name: Browser Test Development Firefox (Mocked) | |
if: startsWith(matrix.browser, 'firefox') | |
run: npm run browser-tests:local-mocked-firefox | |
# - name: Browser Test Development webkit (Mocked) | |
# if: startsWith(matrix.browser, 'webkit') | |
# run: npm run browser-tests:local-mocked-webkit | |
- name: Browser Test Production Chrome (Prod) | |
if: startsWith(matrix.browser, 'chromium') | |
run: npm run browser-tests:local-prod-chrome | |
# - name: Browser Test Production Firefox (prod) | |
# if: startsWith(matrix.browser, 'firefox') | |
# run: npm run browser-tests:local-prod-firefox | |
# - name: Browser Test Production webkit (prod) | |
# if: startsWith(matrix.browser, 'webkit') | |
# run: npm run browser-tests:local-prod-webkit |