Skip to content

Commit

Permalink
fix(ci): change release action to use npm (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborux authored Feb 7, 2023
1 parent aaaba4f commit 196b29e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/actions/release-alpha/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ runs:
git config --local user.name "empathy/x"
shell: bash

- 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}
shell: bash
env:
NPM_TOKEN: ${{ inputs.npm_token }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 196b29e

Please sign in to comment.