Skip to content

Update remix monorepo to v2.14.0 #3736

Update remix monorepo to v2.14.0

Update remix monorepo to v2.14.0 #3736

Workflow file for this run

---
name: E2E tests
on:
pull_request:
branches:
- main
jobs:
test:
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-22.04, macos-14]
# 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: Install MySQL (macOS)
# if: matrix.os == 'macos-14'
run: |
brew install mysql
brew services start mysql
# - name: Start MySQL (Ubuntu)
# if: matrix.os == 'ubuntu-22.04'
# run: sudo systemctl start mysql
- 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
- name: Run tests
run: npm run test
env:
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
AZURE_STORAGE_WEBSITE_DOMAIN: ${{ secrets.AZURE_STORAGE_WEBSITE_DOMAIN }}
CLERK_PUBLISHABLE_KEY: ${{ secrets.CLERK_PUBLISHABLE_KEY }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
# On macOS (installed via Homebrew), the MySQL root password is empty by default
# On Ubuntu (included in runner image), the MySQL root password is "root" by default
# DATABASE_URL: mysql://root:${{ matrix.os == 'ubuntu-22.04' && 'root' || '' }}@localhost:3306/festival
DATABASE_URL: mysql://root:@localhost:3306/festival
FIRST_ADMIN_EMAIL_ADDRESS: [email protected]
PORT: '3000'
- name: Upload test results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: always()
with:
# name: test-results-${{ matrix.os }}--attempt-${{ github.run_attempt }}
name: test-results--attempt-${{ github.run_attempt }}
path: test-results/
test-success:
needs: [test]
runs-on: ubuntu-latest
if: always()
steps:
- name: Check for failure
if: needs.test.result == 'failure' || needs.test.result == 'cancelled'
run: exit 1