Skip to content

Commit 4fbea7a

Browse files
franky47ahmedrowaihi
authored andcommitted
chore: Add CI for TSR
1 parent 321db06 commit 4fbea7a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci-cd.yml

+36
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,40 @@ jobs:
233233
env:
234234
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
235235

236+
e2e-tanstack-router:
237+
name: E2E (tanstack-router)
238+
runs-on: ubuntu-22.04-arm
239+
needs: [ci-core]
240+
steps:
241+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
242+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
243+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
244+
with:
245+
node-version-file: .node-version
246+
cache: pnpm
247+
- name: Install dependencies
248+
run: pnpm install --frozen-lockfile --filter e2e-tanstack-router...
249+
- name: Run tests
250+
run: pnpm run test ${{ github.event_name == 'workflow_dispatch' && '--force' || '' }} --filter e2e-tanstack-router
251+
env:
252+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
253+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
254+
E2E_NO_CACHE_ON_RERUN: ${{ github.run_attempt }}
255+
- name: Save Cypress artifacts
256+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
257+
if: failure()
258+
with:
259+
path: packages/e2e/tanstack-router/cypress/screenshots
260+
name: ci-tanstack-router
261+
- uses: 47ng/actions-slack-notify@main
262+
name: Notify on Slack
263+
if: failure()
264+
with:
265+
status: ${{ job.status }}
266+
jobName: tanstack-router
267+
env:
268+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
269+
236270
ci-notify:
237271
name: Notify on Slack
238272
runs-on: ubuntu-24.04-arm
@@ -243,6 +277,7 @@ jobs:
243277
- e2e-react
244278
- e2e-react-router
245279
- e2e-remix
280+
- e2e-tanstack-router
246281
steps:
247282
- uses: 47ng/actions-slack-notify@main
248283
with:
@@ -266,6 +301,7 @@ jobs:
266301
- e2e-react
267302
- e2e-react-router
268303
- e2e-remix
304+
- e2e-tanstack-router
269305
if: ${{ github.ref_name == 'master' || github.ref_name == 'beta' }}
270306
steps:
271307
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

0 commit comments

Comments
 (0)