@@ -359,63 +359,10 @@ jobs:
359359 # reason for excluding https://github.com/napi-rs/napi-rs/issues/2200
360360 run : cargo miri test --workspace --exclude rspack_node -- --nocapture
361361
362- run_benchmark :
363- name : Run benchmark
364- runs-on : ubuntu-latest
365- # TODO: enable it after security tokens are added
366- # if: github.ref_name == 'main' && github.repository_owner == 'web-infra-dev'
367- if : false
368- steps :
369- - name : Run Benchmark
370- uses :
convictional/[email protected] 371- with :
372- owner : ${{ github.repository_owner }}
373- repo : " rspack-ecosystem-benchmark"
374- workflow_file_name : " bench_rspack_commit.yml"
375- github_token : ${{ secrets.RSPACK_ACCESS_TOKEN }}
376- ref : " main"
377- client_payload : ' {"commit_sha":"${{ github.sha }}"}'
378-
379- run_ecosystem_ci :
380- name : Run Ecosystem CI
381- runs-on : ubuntu-latest
382- # TODO: enable it after security tokens are added
383- # if: github.ref_name == 'main' && github.repository_owner == 'web-infra-dev'
384- if : false
385- steps :
386- - name : Run Ecosystem CI
387- id : eco_ci
388- continue-on-error : true
389- uses :
convictional/[email protected] 390- with :
391- owner : " rspack-contrib"
392- repo : " rspack-ecosystem-ci"
393- workflow_file_name : " ecosystem-ci-from-commit.yml"
394- github_token : ${{ secrets.RSPACK_ACCESS_TOKEN }}
395- ref : " main"
396- client_payload : ' {"commitSHA":"${{ github.sha }}","repo":"web-infra-dev/rspack","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'
397-
398- - if : steps.eco_ci.outcome == 'failure'
399- uses : actions/checkout@v4
400- - if : steps.eco_ci.outcome == 'failure'
401- uses : actions/setup-node@v4
402- with :
403- node-version : 20
404- - name : Send Failure Notification
405- if : steps.eco_ci.outcome == 'failure'
406- shell : bash
407- run : ./scripts/alert/lark.js
408- env :
409- TITLE : Ecosystem CI failed on main branch
410- DESCRIPTION : |
411- commitID: [${{github.sha}}](${{github.server_url}}/${{github.repository}}/commit/${{github.sha}})
412- URL : ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}
413- LARK_WEBHOOK_URL : ${{secrets.LARK_WEBHOOK_URL}}
414-
415362 failure_notification :
416363 name : Failure Notification
417364 needs :
418- [test-linux, test-windows, test-mac, rust_check, rust_test, run_benchmark ]
365+ [test-linux, test-windows, test-mac, rust_check, rust_test]
419366 if : ${{ failure() && !cancelled() && github.ref_name == 'main' && github.repository_owner == 'web-infra-dev' }}
420367 runs-on : ubuntu-latest
421368 steps :
0 commit comments