File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1111 name : check commit message
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : check jira id
14+ - name : Check JIRA ID
1515 uses : gsactions/commit-message-checker@v1
1616 with :
1717 pattern : ' (\[?[A-Z]{1,5}-[1-9][0-9]*)|(\[AUTOMATED\])|(Merge)|(Release).+$'
Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ jobs:
1616 with :
1717 node-version : 14.17.6
1818
19- - name : install packages
19+ - name : Install Packages
2020 run : npm install
2121
22- - name : run tests
22+ - name : Run Tests
2323 env :
2424 SA_WITHOUT_CONTEXT : ${{ secrets.SA_WITHOUT_CONTEXT }}
2525 SIGNED_TOKEN_SA : ${{ secrets.SIGNED_TOKEN_SA }}
2626 run : npm run test
2727
28- - name : upload code coverage to codecov
28+ - name : Upload Code Coverage To Codecov
2929 if : ${{ inputs.upload-to-code-cov == 'true' }}
3030 uses : codecov/codecov-action@v2.1.0
3131 with :
Original file line number Diff line number Diff line change 1- name : Release SDK
1+ name : Common Release Workflow
22
33on :
44 workflow_call :
@@ -24,19 +24,19 @@ jobs:
2424 node-version : 14.17.6
2525 registry-url : ${{ inputs.registry-url }}
2626
27- - name : install packages
27+ - name : Install Packages
2828 run : npm install
2929
30- - name : build
30+ - name : Build
3131 run : npm run build
3232
33- - name : get previous tag
33+ - name : Get Previous Tag
3434 id : previoustag
3535 uses : WyriHaximus/github-action-get-previous-tag@v1
3636 with :
3737 fallback : 1.0.0
3838
39- - name : resolve branch name
39+ - name : Resolve Branch Name
4040 id : resolve-branch
4141 if : ${{ inputs.tag == 'beta' || inputs.tag == 'public' }}
4242 run : |
5252 echo "Resolved Branch Name: $BRANCH_NAME"
5353 echo "branch_name=$BRANCH_NAME" >> $GITHUB_ENV
5454
55- - name : bump version
55+ - name : Bump Version
5656 run : |
5757 chmod +x ./scripts/bump_version.sh
5858 if ${{ inputs.tag == 'internal' }}; then
6161 ./scripts/bump_version.sh "${{ steps.previoustag.outputs.tag }}"
6262 fi
6363
64- - name : commit changes
64+ - name : Commit Changes
6565 run : |
6666 git config user.name ${{ github.actor }}
6767 git config user.email ${{ github.actor }}@users.noreply.github.com
7777 git push origin ${{ github.ref_name }} -f
7878 fi
7979
80- - name : publish
80+ - name : Publish
8181 run : |
8282 if [[ "${{ inputs.tag }}" == "beta" ]]; then
8383 npm publish --tag beta
You can’t perform that action at this time.
0 commit comments