Skip to content

Update dependency vite-tsconfig-paths to v5.1.1 #750

Update dependency vite-tsconfig-paths to v5.1.1

Update dependency vite-tsconfig-paths to v5.1.1 #750

Workflow file for this run

---
name: Component tests
on:
pull_request:
branches:
- main
jobs:
test-ct:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-22.04, macos-14]
shardIndex: [1, 2, 3]
env:
shardTotal: 3
# runs-on: ${{ matrix.os }}
runs-on: macos-14
steps:
# https://github.com/actions/runner-images/issues/9330
- name: Allow microphone access to all apps (macOS)
# if: matrix.os == 'macos-14'
run: |
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);"
# - name: Set up PulseAudio (Ubuntu)
# if: matrix.os == 'ubuntu-22.04'
# run: |
# sudo apt-get update
# sudo apt-get install -y pulseaudio
# systemctl --user start pulseaudio.socket
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps
- run: npm run test-ct -- --shard=${{ matrix.shardIndex }}/${{ env.shardTotal }}
- name: Upload test results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: always()
with:
# name: blob-report-ct-${{ matrix.os }}-${{ matrix.shardIndex }}
name: blob-report-ct-${{ matrix.shardIndex }}
path: blob-report/
merge-reports-ct:
if: always()
needs: [test-ct]
runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-22.04, macos-14]
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Download blob reports
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
path: all-blob-reports
# pattern: blob-report-ct-${{ matrix.os }}-*
pattern: blob-report-ct-*
merge-multiple: true
- name: Merge into HTML report
run: npx playwright merge-reports --reporter html ./all-blob-reports
- name: Upload HTML report
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
# name: html-report-ct-${{ matrix.os }}--attempt-${{ github.run_attempt }}
name: html-report-ct--attempt-${{ github.run_attempt }}
path: playwright-report
test-ct-success:
needs: [test-ct]
runs-on: ubuntu-latest
if: always()
steps:
- name: Check for failure
if: needs.test-ct.result == 'failure' || needs.test-ct.result == 'cancelled'
run: exit 1