Skip to content

Commit

Permalink
ci: fix _authToken in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed May 25, 2023
1 parent d4fcbbe commit 69a4d9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Setup NPM auth token
run: |
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
- name: Dry Run Release
if: ${{ inputs.dry-run }}
run: |
yarn release ${{ inputs.increment }} -d --ci
- name: Release
- name: NPM Publish
if: ${{ !inputs.dry-run }}
run: |
git config --global user.email "${{ secrets.GIT_EMAIL }}"
Expand Down

0 comments on commit 69a4d9a

Please sign in to comment.