Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update other packages #323

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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