Remove workflow_dispatch from debug.yml #1
Workflow file for this run
This file contains hidden or 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
| name: NPM Diagnostic | |
| jobs: | |
| debug-npm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout repository" | |
| uses: actions/checkout@v4 | |
| - name: "Setup Node" | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: "Check 1: Token Presence" | |
| run: | | |
| if [ -z "${{ secrets.NPM_TOKEN }}" ]; then | |
| echo "ERROR: NPM_TOKEN is missing from GitHub Secrets!" | |
| exit 1 | |
| fi | |
| - name: "Check 2: Auth Validation" | |
| run: npm whoami | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| - name: "Check 3: Scoped Access Test" | |
| run: | | |
| echo "Testing access to @testring/plugin-fs-store..." | |
| npm view @testring/plugin-fs-store version || echo "404: Token cannot view this package. You are likely not a member of the @testring org on npm." | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |