File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,11 +186,14 @@ jobs:
186186
187187 - name : Create test project and install from git
188188 shell : bash
189+ env :
190+ HEAD_REPO : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
191+ HEAD_REF : ${{ github.head_ref || github.ref_name }}
189192 run : |
190193 mkdir test-project
191194 cd test-project
192195 npm init -y
193196 # Install from the PR branch (use head repo for fork PRs)
194- npm install "git+https://github.com/${{ github.event.pull_request.head.repo.full_name || github.repository }} #${{ github.head_ref || github.ref_name } }"
197+ npm install "git+https://github.com/${HEAD_REPO} #${HEAD_REF }"
195198 # Verify the package is usable (ESM import)
196199 node --input-type=module -e "import { App } from '@modelcontextprotocol/ext-apps'; console.log('Import successful:', typeof App)"
You can’t perform that action at this time.
0 commit comments