-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): change release action to use npm (#1065)
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,15 +38,15 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git config --local user.name "empathy/x" | ||
- name: configure pnpm auth | ||
- name: configure npm auth | ||
run: | | ||
pnpm config set registry="https://registry.npmjs.org/" | ||
pnpm config set _authToken=${NPM_TOKEN} | ||
npm config set registry="https://registry.npmjs.org/" | ||
npm config set _authToken=${NPM_TOKEN} | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: publish the release | ||
run: npm run publish-release | ||
run: pnpm run publish-release | ||
|
||
- name: push tags | ||
uses: ad-m/github-push-action@master | ||
|