From bdbe130dd7bb1e548f2570e657549e760a941031 Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Fri, 4 Aug 2023 15:04:37 +1200 Subject: [PATCH 01/11] Migrating from CircleCI to GitHub Actions --- .github/workflows/build.yml | 24 +++++++++ .github/workflows/canary-npm-release.yml | 24 +++++++++ .github/workflows/commit.yml | 35 ++++++++++++ .github/workflows/create-release.yml | 29 ++++++++++ .github/workflows/nightwatch.yml | 68 ++++++++++++++++++++++++ .github/workflows/publish-to-npm.yml | 51 ++++++++++++++++++ .github/workflows/tag-release.yml | 19 +++++++ .github/workflows/test.yml | 34 ++++++++++++ scripts/trigger-e2e.sh | 18 +++++++ 9 files changed, 302 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/canary-npm-release.yml create mode 100644 .github/workflows/commit.yml create mode 100644 .github/workflows/create-release.yml create mode 100644 .github/workflows/nightwatch.yml create mode 100644 .github/workflows/publish-to-npm.yml create mode 100644 .github/workflows/tag-release.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..bf9ba4a21 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: dpc-sdp/ripple/build +on: + workflow_call: +env: + CONTENT_API_SERVER: ${{ vars.CONTENT_API_SERVER }} +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.5.0 + - uses: actions/setup-node@v3.6.0 + with: + node-version: '14' + - name: Restore cache + uses: actions/cache@v3.3.1 + with: + key: v10-deps-${{ hashFiles('yarn.lock') }} + path: | + ./.cache + **/node_modules + - name: Install Dependencies + run: yarn install --frozen-lockfile --cache-folder .cache/yarn + - name: Build reference nuxt app + run: yarn reference:build \ No newline at end of file diff --git a/.github/workflows/canary-npm-release.yml b/.github/workflows/canary-npm-release.yml new file mode 100644 index 000000000..0ce0dac8c --- /dev/null +++ b/.github/workflows/canary-npm-release.yml @@ -0,0 +1,24 @@ +name: dpc-sdp/ripple/canary-npm-release +on: + push: + branches: + - uat +jobs: + build: + uses: ./.github/workflows/build.yml + test: + needs: + - build + uses: ./.github/workflows/test.yml + create-prerelease: + needs: + - test + uses: ./.github/workflows/create-release.yml + with: + canary-prerelease: true + tag-release: + needs: + - create-prerelease + permissions: + contents: write + uses: ./.github/workflows/tag-release.yml diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml new file mode 100644 index 000000000..5418e7d79 --- /dev/null +++ b/.github/workflows/commit.yml @@ -0,0 +1,35 @@ +name: dpc-sdp/ripple/commit +on: + workflow_call: + push: + branches-ignore: + - master +env: + CHROMATIC_APP_CODE: ${{ secrets.CHROMATIC_APP_CODE }} +jobs: + build: + uses: ./.github/workflows/build.yml + test: + needs: + - build + uses: ./.github/workflows/test.yml + storybook: + runs-on: ubuntu-latest + needs: + - build + steps: + - uses: actions/checkout@v3.5.0 + with: + fetch-depth: 0 # 👈 Required to retrieve git history + - uses: actions/setup-node@v3.6.0 + with: + node-version: '14' + - name: Restore cache + uses: actions/cache@v3.3.1 + with: + key: v10-deps-${{ hashFiles('yarn.lock') }} + path: | + ./.cache + **/node_modules + - name: Run UI test + run: cd src && yarn chromatic --project-token $CHROMATIC_APP_CODE --exit-zero-on-changes \ No newline at end of file diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 000000000..3bcb2062e --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,29 @@ +name: dpc-sdp/ripple/create-release +on: + workflow_call: + inputs: + canary-prerelease: + type: boolean + default: false +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.5.0 + - name: Restore cache + uses: actions/cache@v3.3.1 + with: + key: v10-deps-${{ hashFiles('yarn.lock') }} + path: | + ./.cache + **/node_modules + - name: Authenticate with registry + run: |- + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc + git update-index --assume-unchanged .npmrc + - name: Publish pre-release packages to NPM + if: inputs.canary-prerelease == true + run: npx lerna publish from-package --canary --force-publish --no-push --dist-tag dev --yes --no-verify-access + - name: Publish packages to NPM + if: inputs.canary-prerelease == false + run: npx lerna publish from-package --force-publish --yes --no-verify-access \ No newline at end of file diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml new file mode 100644 index 000000000..244ee448b --- /dev/null +++ b/.github/workflows/nightwatch.yml @@ -0,0 +1,68 @@ +name: dpc-sdp/ripple/nightwatch +on: + workflow_dispatch: + inputs: + e2e: + type: boolean + required: true + e2e_project: + type: string + required: true + e2e_be_url: + type: string + e2e_fe_url: + type: string +jobs: + e2e_be: + if: startsWith(github.ref_name , 'release/') && inputs.e2e + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_be.yml@build + secrets: inherit + with: + tags: "(@core or @${{ inputs.e2e_project }}) and @regression" + be_url: ${{ inputs.e2e_be_url }} + project: ${{ inputs.e2e_project }} + browser: 'chrome' + test_id: 'fixture' + test_type: ':nightwatch:' + e2e_fe_smoke: + if: startsWith(github.ref_name , 'release/') && inputs.e2e + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + secrets: inherit + with: + tags: "(@smoke and @core) or (@smoke and @${{ inputs.e2e_project }}" + be_url: ${{ inputs.e2e_be_url }} + fe_url: ${{ inputs.e2e_fe_url }} + project: ${{ inputs.e2e_project }} + browser: 'chrome' + test_id: 'fixture' + test_type: ':nightwatch:' + e2e_fe_chrome: + needs: + - e2e_be + - e2e_fe_smoke + if: startsWith(github.ref_name , 'release/') && inputs.e2e + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + secrets: inherit + with: + tags: "(@core or @${{ inputs.e2e_project }}) and @regression and not @mobile" + be_url: ${{ inputs.e2e_be_url }} + fe_url: ${{ inputs.e2e_fe_url }} + project: ${{ inputs.e2e_project }} + browser: 'chrome' + test_id: 'fixture' + test_type: ':nightwatch:' + e2e_fe_android: + needs: + - e2e_be + - e2e_fe_smoke + if: startsWith(github.ref_name , 'release/') && inputs.e2e + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + secrets: inherit + with: + tags: "(@core or @${{ inputs.e2e_project }}) and @regression and not @desktop" + be_url: ${{ inputs.e2e_be_url }} + fe_url: ${{ inputs.e2e_fe_url }} + project: ${{ inputs.e2e_project }} + browser: 'androidChrome' + test_id: 'fixture' + test_type: ':nightwatch:' diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml new file mode 100644 index 000000000..caff5b447 --- /dev/null +++ b/.github/workflows/publish-to-npm.yml @@ -0,0 +1,51 @@ +name: dpc-sdp/ripple/publish-to-npm +on: + push: + branches: + - master +jobs: + build: + uses: ./.github/workflows/build.yml + test: + needs: + - build + uses: ./.github/workflows/test.yml + confirm-release: + environment: + name: approval + runs-on: ubuntu-latest + needs: + - test + steps: + - run: echo 'approved' + create-release: + needs: + - confirm-release + uses: ./.github/workflows/create-release.yml + tag-release: + needs: + - create-release + permissions: + contents: write + uses: ./.github/workflows/tag-release.yml + create-release-notes: + runs-on: ubuntu-latest + needs: + - tag-release + permissions: + contents: write + steps: + - uses: actions/checkout@v3.5.0 + - name: Restore cache + uses: actions/cache@v3.3.1 + with: + key: v10-deps-${{ hashFiles('yarn.lock') }} + path: | + ./.cache + **/node_modules + - name: Install github-release-notes package + run: yarn add -D -W github-release-notes + - name: Generate release notes and publish to GitHub + run: |- + PACKAGE_VERSION=$(node -pe "require('./lerna.json')['version']") + npx gren release --data-source=commits --tags=v$PACKAGE_VERSION --override --token ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml new file mode 100644 index 000000000..78c985593 --- /dev/null +++ b/.github/workflows/tag-release.yml @@ -0,0 +1,19 @@ +name: dpc-sdp/ripple/tag-release +on: + workflow_call: +jobs: + tag-release: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v3.5.0 + - name: Git tag the release with the `lerna.json` version number + run: |- + PACKAGE_VERSION=$(node -pe "require('./lerna.json')['version']") + git tag v$PACKAGE_VERSION + - name: Push git tag to the remote repository + run: |- + PACKAGE_VERSION=$(node -pe "require('./lerna.json')['version']") + echo $PACKAGE_VERSION + git push -q https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git v$PACKAGE_VERSION \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..7682cd127 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,34 @@ +name: dpc-sdp/ripple/test +on: + workflow_call: +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.5.0 + - uses: actions/setup-node@v3.6.0 + with: + node-version: '14' + - name: Restore cache + uses: actions/cache@v3.3.1 + with: + key: v10-deps-${{ hashFiles('yarn.lock') }} + path: | + ./.cache + **/node_modules + - name: Lint code. + run: yarn lint --format ./node_modules/eslint-junit/index.js + env: + ESLINT_JUNIT_OUTPUT: "./test-results/lint/eslint.xml" + - name: Unit tests + run: yarn test:unit --ci --runInBand --reporters=default --reporters=jest-junit + env: + JEST_JUNIT_OUTPUT_DIR: test-results/unit/ + - name: Upload test results + uses: actions/upload-artifact@v3.1.1 + with: + name: Test results + path: | + test-results + examples/reference/test/integration/videos + examples/reference/test/integration/screenshots \ No newline at end of file diff --git a/scripts/trigger-e2e.sh b/scripts/trigger-e2e.sh index 39a719223..fda7a1641 100644 --- a/scripts/trigger-e2e.sh +++ b/scripts/trigger-e2e.sh @@ -44,3 +44,21 @@ else } }' fi + +if [ -z $E2E_GITHUB_TOKEN ]; then + echo "Error: No E2E GitHub token found, end to end is not triggered. Please make sure E2E_GITHUB_TOKEN is set up." +else + # Trigger GitHub Action to run the workflow + curl --location --request POST "https://api.github.com/repos/dpc-sdp/ripple/actions/workflows/nightwatch.yml/dispatches" \ + --header "Authorization: Bearer $GITHUE2E_GITHUB_TOKENB_ACCESS_TOKEN" \ + --header 'Accept: application/vnd.github+json' \ + --data-raw '{ + "ref": "'"$BRANCH"'", + "inputs": { + "e2e": true, + "e2e_be_url": "'"$BE_URL"'", + "e2e_fe_url": "'"$FE_URL"'", + "e2e_project": "reference" + } + }' +fi From e1d4acafe5efe2594a80da5ad4cb381e6b6e44af Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Tue, 15 Aug 2023 10:26:48 +1200 Subject: [PATCH 02/11] Update env variable to use secrets --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf9ba4a21..9621058c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: dpc-sdp/ripple/build on: workflow_call: env: - CONTENT_API_SERVER: ${{ vars.CONTENT_API_SERVER }} + CONTENT_API_SERVER: ${{ secrets.CONTENT_API_SERVER }} jobs: build: runs-on: ubuntu-latest From f507e59e865410ddbdded5df3b1c853f291abd77 Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Tue, 15 Aug 2023 10:45:28 +1200 Subject: [PATCH 03/11] Revert "Update env variable to use secrets" This reverts commit 40de4aff915b67b6c7a585c47435e587d6931ece. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9621058c2..bf9ba4a21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: dpc-sdp/ripple/build on: workflow_call: env: - CONTENT_API_SERVER: ${{ secrets.CONTENT_API_SERVER }} + CONTENT_API_SERVER: ${{ vars.CONTENT_API_SERVER }} jobs: build: runs-on: ubuntu-latest From 965916c51341f416c1d1f35b8eefa6a64f2fb896 Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Wed, 16 Aug 2023 14:50:24 +1200 Subject: [PATCH 04/11] Fixed typo --- scripts/trigger-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/trigger-e2e.sh b/scripts/trigger-e2e.sh index fda7a1641..af282f6ac 100644 --- a/scripts/trigger-e2e.sh +++ b/scripts/trigger-e2e.sh @@ -50,7 +50,7 @@ if [ -z $E2E_GITHUB_TOKEN ]; then else # Trigger GitHub Action to run the workflow curl --location --request POST "https://api.github.com/repos/dpc-sdp/ripple/actions/workflows/nightwatch.yml/dispatches" \ - --header "Authorization: Bearer $GITHUE2E_GITHUB_TOKENB_ACCESS_TOKEN" \ + --header "Authorization: Bearer $E2E_GITHUB_TOKEN" \ --header 'Accept: application/vnd.github+json' \ --data-raw '{ "ref": "'"$BRANCH"'", From faa43c506c65379ea8f9a088dccedd2289e441de Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Mon, 28 Aug 2023 09:42:14 +1200 Subject: [PATCH 05/11] Removed e2e release branch logic in nightwatch workflow --- .github/workflows/nightwatch.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index 244ee448b..71f9f28b3 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -14,7 +14,7 @@ on: type: string jobs: e2e_be: - if: startsWith(github.ref_name , 'release/') && inputs.e2e + if: inputs.e2e uses: dpc-sdp/github-actions/.github/workflows/run_e2e_be.yml@build secrets: inherit with: @@ -25,7 +25,7 @@ jobs: test_id: 'fixture' test_type: ':nightwatch:' e2e_fe_smoke: - if: startsWith(github.ref_name , 'release/') && inputs.e2e + if: inputs.e2e uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build secrets: inherit with: @@ -40,7 +40,7 @@ jobs: needs: - e2e_be - e2e_fe_smoke - if: startsWith(github.ref_name , 'release/') && inputs.e2e + if: inputs.e2e uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build secrets: inherit with: @@ -55,7 +55,7 @@ jobs: needs: - e2e_be - e2e_fe_smoke - if: startsWith(github.ref_name , 'release/') && inputs.e2e + if: inputs.e2e uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build secrets: inherit with: From e1c0615703290561777ffc5f14482ea640c7b719 Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Wed, 30 Aug 2023 13:39:26 +1200 Subject: [PATCH 06/11] Adding push event to create workflow dispatch --- .github/workflows/nightwatch.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index 71f9f28b3..84d829345 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -12,6 +12,7 @@ on: type: string e2e_fe_url: type: string + push: jobs: e2e_be: if: inputs.e2e From 4c84443881972cf31fd5454fefcf4ed974fabe35 Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Thu, 31 Aug 2023 14:51:46 +1200 Subject: [PATCH 07/11] Updated branch to main for reusable workflows --- .github/workflows/nightwatch.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index 84d829345..57e25da33 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -16,7 +16,7 @@ on: jobs: e2e_be: if: inputs.e2e - uses: dpc-sdp/github-actions/.github/workflows/run_e2e_be.yml@build + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_be.yml@main secrets: inherit with: tags: "(@core or @${{ inputs.e2e_project }}) and @regression" @@ -27,7 +27,7 @@ jobs: test_type: ':nightwatch:' e2e_fe_smoke: if: inputs.e2e - uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main secrets: inherit with: tags: "(@smoke and @core) or (@smoke and @${{ inputs.e2e_project }}" @@ -42,7 +42,7 @@ jobs: - e2e_be - e2e_fe_smoke if: inputs.e2e - uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main secrets: inherit with: tags: "(@core or @${{ inputs.e2e_project }}) and @regression and not @mobile" @@ -57,7 +57,7 @@ jobs: - e2e_be - e2e_fe_smoke if: inputs.e2e - uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@build + uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main secrets: inherit with: tags: "(@core or @${{ inputs.e2e_project }}) and @regression and not @desktop" From 87a2201dfeadc123467730ac39462a9078d1533d Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Thu, 31 Aug 2023 15:40:45 +1200 Subject: [PATCH 08/11] Added runner inputs to use ubuntu-latest --- .github/workflows/nightwatch.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index 57e25da33..bfa072f1b 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -25,6 +25,7 @@ jobs: browser: 'chrome' test_id: 'fixture' test_type: ':nightwatch:' + runner: 'ubuntu-latest' e2e_fe_smoke: if: inputs.e2e uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main @@ -37,6 +38,7 @@ jobs: browser: 'chrome' test_id: 'fixture' test_type: ':nightwatch:' + runner: 'ubuntu-latest' e2e_fe_chrome: needs: - e2e_be @@ -52,6 +54,7 @@ jobs: browser: 'chrome' test_id: 'fixture' test_type: ':nightwatch:' + runner: 'ubuntu-latest' e2e_fe_android: needs: - e2e_be @@ -67,3 +70,4 @@ jobs: browser: 'androidChrome' test_id: 'fixture' test_type: ':nightwatch:' + runner: 'ubuntu-latest' From 481c4f490d55c8e9e6161a2534d2574bb57409fd Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:30:10 +1200 Subject: [PATCH 09/11] Added missing closed bracket --- .github/workflows/nightwatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index bfa072f1b..02e696b49 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -31,7 +31,7 @@ jobs: uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main secrets: inherit with: - tags: "(@smoke and @core) or (@smoke and @${{ inputs.e2e_project }}" + tags: "(@smoke and @core) or (@smoke and @${{ inputs.e2e_project }})" be_url: ${{ inputs.e2e_be_url }} fe_url: ${{ inputs.e2e_fe_url }} project: ${{ inputs.e2e_project }} From a1adef9f03c1c5d33886c668d79c1be71370dd6b Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:30:51 +1200 Subject: [PATCH 10/11] Revert "Adding push event to create workflow dispatch" This reverts commit e1c0615703290561777ffc5f14482ea640c7b719. --- .github/workflows/nightwatch.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/nightwatch.yml b/.github/workflows/nightwatch.yml index 02e696b49..159462d18 100644 --- a/.github/workflows/nightwatch.yml +++ b/.github/workflows/nightwatch.yml @@ -12,7 +12,6 @@ on: type: string e2e_fe_url: type: string - push: jobs: e2e_be: if: inputs.e2e From 06c07d932d6e3c86a8dfc10dee4bfe4fff461f5d Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Wed, 20 Sep 2023 13:11:23 +1200 Subject: [PATCH 11/11] Temporary disabled workflows by updating the trigger event to branches that do not exist --- .github/workflows/canary-npm-release.yml | 4 +++- .github/workflows/publish-to-npm.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/canary-npm-release.yml b/.github/workflows/canary-npm-release.yml index 0ce0dac8c..5867525a6 100644 --- a/.github/workflows/canary-npm-release.yml +++ b/.github/workflows/canary-npm-release.yml @@ -2,7 +2,9 @@ name: dpc-sdp/ripple/canary-npm-release on: push: branches: - - uat + # Uncomment below once testing has been completed and we are ready to publish using this workflow + #- uat + - 'github-action/disable-workflow' jobs: build: uses: ./.github/workflows/build.yml diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index caff5b447..61209a1c4 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -2,7 +2,9 @@ name: dpc-sdp/ripple/publish-to-npm on: push: branches: - - master + # Uncomment below once testing has been completed and we are ready to publish using this workflow + #- master + - 'github-action/disable-workflow' jobs: build: uses: ./.github/workflows/build.yml