File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 - if : matrix.node-version == '22.x'
5858 uses : codecov/codecov-action@v4
5959 with :
60- files : ./coverage/coverage-final.json
61- fail_ci_if_error : true
60+ files : ./coverage/lcov.info
61+ disable_search : true
62+ fail_ci_if_error : false
6263 use_oidc : true
6364
6465 integration :
Original file line number Diff line number Diff line change 1414 issues : write
1515 pull-requests : write
1616 id-token : write
17+ env :
18+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
1719 steps :
1820 - uses : actions/checkout@v4
1921 with :
2325 node-version : 22
2426 cache : npm
2527 - run : npm ci
26- - run : npx semantic-release
28+ - if : ${{ env.NPM_TOKEN == '' }}
29+ run : echo "Skipping npm release because NPM_TOKEN is not configured."
30+ - if : ${{ env.NPM_TOKEN != '' }}
31+ run : npx semantic-release
2732 env :
2833 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29- NPM_TOKEN : ${{ secrets .NPM_TOKEN }}
34+ NPM_TOKEN : ${{ env .NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments