diff --git a/.circleci/config.yml b/.circleci/config.yml index 15ac70c..7111517 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3709fd6..0585411 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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: @@ -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 @@ -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 }} @@ -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 }} @@ -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