Skip to content

Commit 852a510

Browse files
committed
try packaging
1 parent 0818f2f commit 852a510

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,15 @@ jobs:
100100
DOCKER_IMAGE_TAG: PR-${{ needs.get_issue_number.outputs.issue_number }}-${{ needs.get_commit_id.outputs.sha_short }}
101101
secrets:
102102
CDK_PUSH_IMAGE_ROLE: ${{ secrets.DEV_CDK_PUSH_IMAGE_ROLE }}
103+
104+
tag_release:
105+
needs: [quality_checks, get_commit_id, get_asdf_version]
106+
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@publish_different_path
107+
with:
108+
dry_run: false
109+
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
110+
branch_name: main
111+
publish_package: true
112+
tag_format: ${{ needs.get_asdf_version.outputs.tag_format }}
113+
pkg_root: packages/cdkConstructs
114+
secrets: inherit

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ aws-login:
5656
test: clean
5757
npm run test --workspace packages/cdkConstructs
5858

59-
package:
60-
npm run build --workspace packages/cdkConstructs
59+
package: build
6160
mkdir -p lib/
6261
npm pack --workspace packages/cdkConstructs --pack-destination lib/
62+
63+
build:
64+
npm run build --workspace packages/cdkConstructs

0 commit comments

Comments
 (0)