feat: e2e dev preview tests #1166
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: tests | ||
|
Check failure on line 1 in .github/workflows/test.yml
|
||
| on: | ||
| push: | ||
| branches-ignore: | ||
| - main | ||
| - '2*-patch' | ||
| workflow_dispatch: | ||
| jobs: | ||
| check-versions: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '20' | ||
| cache: 'yarn' | ||
| - run: yarn install --frozen-lockfile | ||
| - run: node .husky/check-versions.js | ||
| yarn-lockfile-check: | ||
| uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main | ||
| # Since the Windows unit tests take much longer, we run the linux unit tests first and then run the windows unit tests in parallel with NUTs | ||
| linux-unit-tests: | ||
| needs: yarn-lockfile-check | ||
| uses: salesforcecli/github-workflows/.github/workflows/unitTestsLinux.yml@main | ||
| with: | ||
| skipTsDepCheck: false | ||
| windows-unit-tests: | ||
| needs: linux-unit-tests | ||
| uses: salesforcecli/github-workflows/.github/workflows/unitTestsWindows.yml@main | ||
| nuts: | ||
| steps: | ||
| - name: Install Playwright Browsers | ||
| run: yarn playwright install --with-deps | ||
| - name: Run nuts tests | ||
| needs: linux-unit-tests | ||
| uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main | ||
| secrets: inherit | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest, windows-latest] | ||
| fail-fast: false | ||
| with: | ||
| os: ${{ matrix.os }} | ||