Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/publish-pr-commit-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,16 @@ jobs:

- name: Publish for PR
if: ${{ github.event_name == 'pull_request' }}
env:
NPM_CONFIG_WORKSPACE_DIR: ${{ github.workspace }}
run: |
cd dist/element-plus
pnpx pkg-pr-new publish --pnpm --packageManager=pnpm,npm,yarn

- name: Publish for Commit Push
if: ${{ github.event_name == 'push' }}
env:
NPM_CONFIG_WORKSPACE_DIR: ${{ github.workspace }}
run: |
cd dist/element-plus
pnpx pkg-pr-new publish --pnpm --comment=off --packageManager=pnpm,npm,yarn
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pnpm update:version
pnpm build

cd dist/element-plus
pnpm publish --access public --no-git-checks
NPM_CONFIG_WORKSPACE_DIR="$(pwd)/../.." pnpm publish --access public --no-git-checks
cd -

cd internal/eslint-config
Expand Down
Loading