mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-18 09:04:54 +00:00
Fix plugin backend-tests workflow pnpm 10 symlink error (#7396)
Remove redundant pnpm link --global steps that conflict with pnpm run plugins i --path on pnpm 10, causing "Symlink path is the same as the target path" errors. The plugins i command handles all linking internally via LinkInstaller. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7484d9ea60
commit
892c52ba26
1 changed files with 1 additions and 23 deletions
|
|
@ -47,17 +47,6 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: plugin
|
||||
-
|
||||
name: Determine plugin name
|
||||
id: plugin_name
|
||||
working-directory: ./plugin
|
||||
run: |
|
||||
npx -c 'printf %s\\n "::set-output name=plugin_name::${npm_package_name}"'
|
||||
-
|
||||
name: Link plugin directory
|
||||
working-directory: ./plugin
|
||||
run: |
|
||||
pnpm link --global
|
||||
- name: Remove tests
|
||||
working-directory: ./etherpad-lite
|
||||
run: rm -rf ./src/tests/backend/specs
|
||||
|
|
@ -65,21 +54,10 @@ jobs:
|
|||
name: Install Etherpad core dependencies
|
||||
working-directory: ./etherpad-lite
|
||||
run: bin/installDeps.sh
|
||||
- name: Link plugin to etherpad-lite
|
||||
- name: Install plugin
|
||||
working-directory: ./etherpad-lite
|
||||
run: |
|
||||
pnpm link --global $PLUGIN_NAME
|
||||
pnpm run plugins i --path ../../plugin
|
||||
env:
|
||||
PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}
|
||||
- name: Link ep_etherpad-lite
|
||||
working-directory: ./etherpad-lite/src
|
||||
run: |
|
||||
pnpm link --global
|
||||
- name: Link etherpad to plugin
|
||||
working-directory: ./plugin
|
||||
run: |
|
||||
pnpm link --global ep_etherpad-lite
|
||||
-
|
||||
name: Run the backend tests
|
||||
working-directory: ./etherpad-lite
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue