@@ -630,11 +630,8 @@ jobs:
630
630
working-directory : site
631
631
632
632
test-e2e :
633
- # test-e2e fails on 2-core 8GB runners, so we use the 4-core 16GB runner
634
633
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }}
635
634
needs : changes
636
- if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
637
- timeout-minutes : 20
638
635
strategy :
639
636
fail-fast : false
640
637
matrix :
@@ -643,6 +640,9 @@ jobs:
643
640
name : test-e2e
644
641
- premium : true
645
642
name : test-e2e-premium
643
+ # Skip test-e2e on forks as they don't have access to CI secrets
644
+ if : (needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main') && !(github.event.pull_request.head.repo.fork)
645
+ timeout-minutes : 20
646
646
name : ${{ matrix.variant.name }}
647
647
steps :
648
648
- name : Harden Runner
@@ -749,7 +749,7 @@ jobs:
749
749
# Prevent excessive build runs on minor version changes
750
750
skip : " @(renovate/**|dependabot/**)"
751
751
# Run TurboSnap to trace file dependencies to related stories
752
- # and tell chromatic to only take snapshots of relevent stories
752
+ # and tell chromatic to only take snapshots of relevant stories
753
753
onlyChanged : true
754
754
# Avoid uploading single files, because that's very slow
755
755
zip : true
@@ -776,7 +776,7 @@ jobs:
776
776
workingDir : " ./site"
777
777
storybookBaseDir : " ./site"
778
778
# Run TurboSnap to trace file dependencies to related stories
779
- # and tell chromatic to only take snapshots of relevent stories
779
+ # and tell chromatic to only take snapshots of relevant stories
780
780
onlyChanged : true
781
781
# Avoid uploading single files, because that's very slow
782
782
zip : true
0 commit comments