Skip to content

Commit

Permalink
Merge pull request #323 from ministryofjustice/update-other-packages
Browse files Browse the repository at this point in the history
Update other packages
  • Loading branch information
richrace authored Nov 8, 2024
2 parents f6bcc00 + 00736a0 commit 6d0d7ad
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ commands:
override-ci-command: npm i --workspaces --include-workspace-root
- run:
name: Build Core
command: npm run build
command: npm run build:core
working_directory: ~/bichard7-next-core

- node/install-packages:
Expand Down
56 changes: 28 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notification_title: 'GitHub action failed: Bump package version'
message_format: ':elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>'
notify_when: 'failure'
footer: 'Linked to Repo <{repo_url}|{repo}>'
notification_title: "GitHub action failed: Bump package version"
message_format: ":elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>"
notify_when: "failure"
footer: "Linked to Repo <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

release-npm-package:
name: Release NPM package
Expand Down Expand Up @@ -106,12 +106,12 @@ jobs:
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notification_title: 'GitHub action failed: Release npm package'
message_format: ':elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>'
notify_when: 'failure'
footer: 'Linked to Repo <{repo_url}|{repo}>'
notification_title: "GitHub action failed: Release npm package"
message_format: ":elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>"
notify_when: "failure"
footer: "Linked to Repo <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

release-maven-package:
name: Release Maven package
Expand Down Expand Up @@ -154,7 +154,6 @@ jobs:
- name: Package the data with maven
run: mvn package --no-transfer-progress


- name: Publish maven package
run: mvn deploy
env:
Expand All @@ -166,12 +165,12 @@ jobs:
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notification_title: 'GitHub action failed: Release Maven package'
message_format: ':elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>'
notify_when: 'failure'
footer: 'Linked to Repo <{repo_url}|{repo}>'
notification_title: "GitHub action failed: Release Maven package"
message_format: ":elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>"
notify_when: "failure"
footer: "Linked to Repo <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

update-core-repo:
name: Update NPM package in core repo
Expand All @@ -188,9 +187,10 @@ jobs:

- name: Update standing data npm package
run: >
npm install
bichard7-next-data-latest@npm:@moj-bichard7-developers/bichard7-next-data@${VERSION}
-w packages/core
npm install @moj-bichard7-developers/bichard7-next-data@${VERSION}
-w packages/core
-w packages/ui
-w packages/e2e-test
env:
VERSION: ${{ needs.bump-package-version.outputs.version }}

Expand All @@ -199,10 +199,10 @@ jobs:
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notification_title: 'GitHub action failed: Update core repo'
message_format: ':elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>'
notify_when: 'failure'
footer: 'Linked to Repo <{repo_url}|{repo}>'
notification_title: "GitHub action failed: Update core repo"
message_format: ":elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>"
notify_when: "failure"
footer: "Linked to Repo <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

Expand Down Expand Up @@ -251,12 +251,12 @@ jobs:
uses: ravsamhq/notify-slack-action@v1
with:
status: ${{ job.status }}
notification_title: 'GitHub action failed: Update Bichard 7 next'
message_format: ':elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>'
notify_when: 'failure'
footer: 'Linked to Repo <{repo_url}|{repo}>'
notification_title: "GitHub action failed: Update Bichard 7 next"
message_format: ":elmo-fire: *{workflow}* {status_message} in <{repo_url}|{repo}>"
notify_when: "failure"
footer: "Linked to Repo <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}

- name: Create pull request
id: cpr
Expand Down

0 comments on commit 6d0d7ad

Please sign in to comment.