File tree Expand file tree Collapse file tree 1 file changed +27
-4
lines changed
Expand file tree Collapse file tree 1 file changed +27
-4
lines changed Original file line number Diff line number Diff line change 1515 uses :
NHSDigital/eps-workflow-quality-checks/.github/workflows/[email protected] 1616 secrets :
1717 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
18-
18+
1919 get_issue_number :
2020 runs-on : ubuntu-22.04
2121 outputs :
@@ -59,15 +59,38 @@ jobs:
5959 echo "commit_id=${{ github.sha }}" >> "$GITHUB_OUTPUT"
6060 echo "sha_short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
6161
62- package_code :
62+ package_docker_image :
6363 needs : [get_issue_number, quality_checks, get_commit_id]
6464 uses : ./.github/workflows/docker_image_build.yml
6565 with :
6666 VERSION_NUMBER : PR-${{ needs.get_issue_number.outputs.issue_number }}
6767 COMMIT_ID : ${{ needs.get_commit_id.outputs.commit_id }}
6868
69- release_code :
70- needs : [get_issue_number, package_code, get_commit_id]
69+ package_npm_code :
70+ runs-on : ubuntu-22.04
71+ needs : [get_issue_number, quality_checks, get_commit_id]
72+ steps :
73+ - name : Checkout code
74+ uses : actions/checkout@v5
75+ with :
76+ ref : ${{ env.BRANCH_NAME }}
77+
78+ - name : Install dependencies
79+ run : |
80+ make install
81+
82+ - name : Package code
83+ run : |
84+ make package
85+ - uses : actions/upload-artifact@v4
86+ name : Upload packaged code
87+ with :
88+ name : NHSDigital-eps-cdk-constructs
89+ path : |
90+ lib/NHSDigital-eps-cdk-constructs-1.0.0.tgz
91+
92+ release_docker_image :
93+ needs : [get_issue_number, package_docker_image, get_commit_id]
7194 uses : ./.github/workflows/docker_image_upload.yml
7295 with :
7396 AWS_ENVIRONMENT : dev
You can’t perform that action at this time.
0 commit comments