Repair e2e CI matrix after upstream toolchain drift (#504) #1081
Workflow file for this run
This file contains hidden or 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: E2E Tests | |
| on: | |
| push: | |
| env: | |
| VERBOSE: true | |
| YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| e2e-config: | |
| - standalone_js | |
| - standalone_ts | |
| # - turbo | |
| - next_js | |
| - next_ts | |
| - remix_js | |
| - remix_ts | |
| - redwood_js | |
| # - redwood_ts | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.1.2 | |
| bundler-cache: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # Single source of truth for the Node version — kept in sync with | |
| # local dev via .tool-versions (see gh#504 toolchain drift). | |
| node-version-file: ".tool-versions" | |
| cache: "yarn" | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Setup ${{ matrix.e2e-config }} app | |
| run: bundle exec ruby e2e/cli.rb setup --app=${{ matrix.e2e-config }} | |
| - name: Run ${{ matrix.e2e-config }} jest tests | |
| run: yarn jest --rootDir=mailing_tests/jest --config mailing_tests/jest/jest.config.json | |
| working-directory: /tmp/mailing_e2e/ci | |
| - name: Run ${{ matrix.e2e-config }} cypress tests | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| DEBUG: "@cypress/github-action" | |
| with: | |
| install: false | |
| start: yarn ci:mailing:nohup | |
| working-directory: /tmp/mailing_e2e/ci | |
| browser: chrome | |
| project: mailing_tests |