Skip to content

Remove workflow_dispatch from debug.yml #1

Remove workflow_dispatch from debug.yml

Remove workflow_dispatch from debug.yml #1

Workflow file for this run

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 }}