File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
packages/mdctl-axon-tools Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 node-version : ${{ matrix.node-version }}
2828 cache : ' npm'
29+ - name : Set ENV variables
30+ id : vars
31+ run : |
32+ echo "CI_COMMIT_SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV"
33+ echo "CI_BRANCH=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV"
2934 - run : npm ci
3035 - run : npm run test --workspace=@medable/mdctl-axon-tools
3136 - uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ module.exports = {
2323 filename : 'report.html' ,
2424 stripSkippedTest : true ,
2525 customInfos : [ {
26- title : 'Ref ' ,
27- value : process . env . GITHUB_REF_NAME
26+ title : 'Branch ' ,
27+ value : process . env . CI_BRANCH
2828 } , {
2929 title : 'Commit #' ,
30- value : process . env . GITHUB_SHA
30+ value : process . env . CI_COMMIT_SHORT_SHA
3131 } ]
3232 } ] ]
3333
You can’t perform that action at this time.
0 commit comments