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
14 changes: 12 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
- "mcp-v*.*.*"

permissions:
contents: write
id-token: write
contents: read

concurrency:
group: npm-publish-${{ github.ref_name }}
Expand All @@ -16,12 +15,16 @@ concurrency:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
Expand Down Expand Up @@ -67,6 +70,13 @@ jobs:
- name: Publish with npm trusted publishing
run: npx -y npm@11.15.0 publish --workspace @jsonbored/gittensory-mcp --access public --provenance

github-release:
runs-on: ubuntu-latest
needs: publish
timeout-minutes: 5
permissions:
contents: write
steps:
- name: Create GitHub release
env:
GH_TOKEN: ${{ github.token }}
Expand Down