chore(release-nx-mcp): 0.6.6 #9
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: Publish Nx MCP | |
| on: | |
| push: | |
| tags: | |
| - 'nx-mcp-v*.*.*' | |
| env: | |
| node_version: 24 | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js ${{ env.node_version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.node_version }} | |
| check-latest: true | |
| cache: yarn | |
| - name: Gradle Wrapper Validation | |
| uses: gradle/actions/wrapper-validation@v3 | |
| - name: Setup Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: zulu | |
| java-version: 17 | |
| cache: gradle | |
| - run: yarn install --immutable | |
| shell: bash | |
| - name: Derive appropriate SHAs for base and head for `nx affected` commands | |
| uses: nrwl/nx-set-shas@v3 | |
| with: | |
| main-branch-name: 'master' | |
| - name: log npm version | |
| run: npm --version | |
| - name: publish | |
| run: | | |
| npx nx run nx-mcp:setup-publish --skip-nx-cache | |
| cd dist/apps/nx-mcp | |
| npm publish | |
| - name: Install MCP Publisher | |
| run: | | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher | |
| working-directory: dist/apps/nx-mcp | |
| - name: Login to MCP Registry | |
| run: ./mcp-publisher login github-oidc | |
| working-directory: dist/apps/nx-mcp | |
| - name: Publish to MCP Registry | |
| run: ./mcp-publisher publish | |
| working-directory: dist/apps/nx-mcp |