Skip to content
Merged
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
11 changes: 11 additions & 0 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:
jobs:
release:
runs-on: ubuntu-latest
environment: npm-publish
steps:
- name: Guard workflow_dispatch caller permissions
if: ${{ github.event_name == 'workflow_dispatch' }}
Expand Down Expand Up @@ -122,6 +123,16 @@ jobs:
- name: Type check
run: npx tsc --noEmit

- name: Verify npm auth
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
test -n "${NODE_AUTH_TOKEN}" || {
echo "NPM_TOKEN missing (check job environment + secret scope)"
exit 1
}
npm whoami --registry=https://registry.npmjs.org/

- name: Run semantic-release
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
Expand Down
Loading