Skip to content

Commit

Permalink
Fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
Tedezed committed Sep 27, 2024
1 parent dd2b7c6 commit 7838215
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ jobs:
# if: steps.check-tag-format.outputs.is_stable == 'false' && steps.get-release-type.outputs.result == 'latest'
# run: echo "Tag set may be incorrect. Please, review" && exit 1

# - name: Reset changes
# if: startsWith(github.ref, 'refs/tags/') && matrix.publish
# run: git reset --hard HEAD

- name: Ignore changes to .yarnrc.yml
if: startsWith(github.ref, 'refs/tags/') && matrix.publish
run: git update-index --assume-unchanged .yarnrc.yml

- name: Configure yarn to publish packages
if: startsWith(github.ref, 'refs/tags/') && matrix.publish
env:
Expand All @@ -103,14 +111,6 @@ jobs:
yarn config set npmPublishRegistry "https://registry.npmjs.org/"
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
- name: Reset changes
if: startsWith(github.ref, 'refs/tags/') && matrix.publish
run: git reset --hard HEAD

# - name: Ignore changes to .yarnrc.yml
# if: startsWith(github.ref, 'refs/tags/') && matrix.publish
# run: git update-index --assume-unchanged .yarnrc.yml

- name: Publish package with Lerna
if: startsWith(github.ref, 'refs/tags/') && matrix.publish
env:
Expand Down

0 comments on commit 7838215

Please sign in to comment.