File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed
Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 3131 if : github.event_name != 'workflow_run'
3232 uses : actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
3333 with :
34- name : out
34+ name : out_cypress
3535 path : out
3636
3737 - name : Download static build
4141 workflow : build-fork.yml
4242 run_id : ${{ github.event.workflow_run.id }}
4343 workflow_conclusion : success
44- name : out
44+ name : out_cypress
4545 path : out
4646
4747 - name : test
Original file line number Diff line number Diff line change 1515 (github.event_name == 'push' && github.event_name == 'pull_request') ||
1616 (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
1717 !contains(github.head_ref, 'dependabot'))
18+ strategy :
19+ matrix :
20+ build :
21+ - name : ' out'
22+ cypress_enabled : ' false'
23+ - name : ' out_cypress'
24+ cypress_enabled : ' true'
1825 steps :
1926 - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
2027 with :
@@ -31,12 +38,12 @@ jobs:
3138 NEXT_PUBLIC_FIAT_ON_RAMP : ' false'
3239 NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID : ${{ secrets.WALLET_CONNECT_PROJECT_ID }}
3340 NEXT_PUBLIC_SUBGRAPH_API_KEY : ${{ secrets.NEXT_PUBLIC_SUBGRAPH_API_KEY }}
34- NEXT_PUBLIC_IS_CYPRESS_ENABLED : ' true '
41+ NEXT_PUBLIC_IS_CYPRESS_ENABLED : ${{ matrix.build.cypress_enabled }}
3542
3643 - name : Upload artifacts
3744 uses : ./.github/actions/upload-artifacts
3845 with :
39- BUILD_ARTIFACT_NAME : ' out '
46+ BUILD_ARTIFACT_NAME : ${{ matrix.build.name }}
4047
4148 cypress_smoke_v2 :
4249 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1515 (github.event_name == 'push' && github.ref == 'refs/heads/main') ||
1616 (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name &&
1717 !contains(github.head_ref, 'dependabot'))
18+ strategy :
19+ matrix :
20+ build :
21+ - name : ' out'
22+ cypress_enabled : ' false'
23+ - name : ' out_cypress'
24+ cypress_enabled : ' true'
1825 steps :
1926 - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
2027 with :
@@ -31,12 +38,12 @@ jobs:
3138 NEXT_PUBLIC_FIAT_ON_RAMP : ' false'
3239 NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID : ${{ secrets.WALLET_CONNECT_PROJECT_ID }}
3340 NEXT_PUBLIC_SUBGRAPH_API_KEY : ${{ secrets.NEXT_PUBLIC_SUBGRAPH_API_KEY }}
34- NEXT_PUBLIC_IS_CYPRESS_ENABLED : ' false '
41+ NEXT_PUBLIC_IS_CYPRESS_ENABLED : ${{ matrix.build.cypress_enabled }}
3542
3643 - name : Upload artifacts
3744 uses : ./.github/actions/upload-artifacts
3845 with :
39- BUILD_ARTIFACT_NAME : ' out '
46+ BUILD_ARTIFACT_NAME : ${{ matrix.build.name }}
4047
4148 build_staging :
4249 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments