|
18 | 18 | NODE_VERSION: '20.19.4' |
19 | 19 |
|
20 | 20 | jobs: |
21 | | - # Starting with the basics, just get tests running in CI |
22 | | - # TODO: add env var combos we use for Karma tests |
23 | 21 | # TODO: upload result artifacts |
24 | 22 | # TODO: make it saucy 🥫 |
25 | | - wtr-group-1: |
| 23 | + integration-tests: |
26 | 24 | runs-on: ubuntu-22.04 |
27 | 25 | env: |
28 | 26 | SAUCE_TUNNEL_ID: github-action-tunnel-wtr-${{github.run_id}}-group-1 |
|
50 | 48 | # tunnelName: ${{ env.SAUCE_TUNNEL_ID }} |
51 | 49 | # region: us |
52 | 50 |
|
53 | | - - run: yarn test |
54 | 51 | - run: yarn test || true |
55 | 52 | - run: DISABLE_SYNTHETIC=1 yarn test || true |
56 | 53 | - run: LEGACY_BROWSERS=1 yarn test || true |
|
77 | 74 | - run: DISABLE_STATIC_CONTENT_OPTIMIZATION=1 DISABLE_SYNTHETIC=1 yarn test || true |
78 | 75 | - run: NODE_ENV_FOR_TEST=production yarn test || true |
79 | 76 | - run: NODE_ENV_FOR_TEST=production DISABLE_SYNTHETIC=1 yarn test || true |
| 77 | + hydration-tests: |
| 78 | + runs-on: ubuntu-22.04 |
| 79 | + env: |
| 80 | + SAUCE_TUNNEL_ID: github-action-tunnel-wtr-${{github.run_id}}-group-1 |
| 81 | + defaults: |
| 82 | + run: |
| 83 | + working-directory: ./packages/@lwc/integration-not-karma |
| 84 | + steps: |
| 85 | + - name: Checkout repository |
| 86 | + uses: actions/checkout@v4 |
| 87 | + |
| 88 | + - name: Setup Node |
| 89 | + uses: actions/setup-node@v4 |
| 90 | + with: |
| 91 | + node-version: ${{ env.NODE_VERSION }} |
| 92 | + cache: 'yarn' |
| 93 | + |
| 94 | + - name: Install dependencies |
| 95 | + run: yarn install --frozen-lockfile |
| 96 | + working-directory: ./ |
| 97 | + |
| 98 | + # - uses: saucelabs/sauce-connect-action@v3.0.0 |
| 99 | + # with: |
| 100 | + # username: ${{ secrets.SAUCE_USERNAME }} |
| 101 | + # accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} |
| 102 | + # tunnelName: ${{ env.SAUCE_TUNNEL_ID }} |
| 103 | + # region: us |
80 | 104 | - run: ENGINE_SERVER=1 yarn test:hydration || true |
81 | 105 | # DISABLE_SYNTHETIC is enabled by default in hydration tests, so the inverse is disabling |
82 | 106 | - run: ENGINE_SERVER=1 DISABLE_SYNTHETIC='' yarn test:hydration || true |
|
0 commit comments