From 2d14fd7c115946ad7c5c64166480a8845791d57d Mon Sep 17 00:00:00 2001 From: Michael De Checchi Date: Thu, 4 Jul 2024 16:34:03 +0200 Subject: [PATCH] TECH-1636: Deactivate the publish job (#266) --- .github/workflows/on-merge.yml | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/on-merge.yml b/.github/workflows/on-merge.yml index 933f0281..e8242617 100644 --- a/.github/workflows/on-merge.yml +++ b/.github/workflows/on-merge.yml @@ -44,27 +44,27 @@ jobs: run: | yarn build - publish: - name: Publish Components - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - shell: bash - run: | - yarn install - - name: Set env vars - shell: bash - run: | - echo "GITHUB_TOKEN=${{ secrets.GH_API_TOKEN }}" >> $GITHUB_ENV - echo "NPM_TOKEN=${{ secrets.NPMJS_PUBLISH_TOKEN }}" >> $GITHUB_ENV - - name: Authenticate with registry - shell: bash - run: | - echo "//registry.npmjs.org/:_authToken=${{ env.NPM_TOKEN }}" > .npmrc - npm set registry https://registry.npmjs.org/ - - name: Execute yarn publish - shell: bash - run: | - yarn publish +# publish: +# name: Publish Components +# needs: build +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - name: Install dependencies +# shell: bash +# run: | +# yarn install +# - name: Set env vars +# shell: bash +# run: | +# echo "GITHUB_TOKEN=${{ secrets.GH_API_TOKEN }}" >> $GITHUB_ENV +# echo "NPM_TOKEN=${{ secrets.NPMJS_PUBLISH_TOKEN }}" >> $GITHUB_ENV +# - name: Authenticate with registry +# shell: bash +# run: | +# echo "//registry.npmjs.org/:_authToken=${{ env.NPM_TOKEN }}" > .npmrc +# npm set registry https://registry.npmjs.org/ +# - name: Execute yarn publish +# shell: bash +# run: | +# yarn publish