Skip to content

Commit

Permalink
TECH-1636: Deactivate the publish job (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
rknj authored Jul 4, 2024
1 parent 45417be commit 2d14fd7
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d14fd7

Please sign in to comment.