diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdc1078..ae90355 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,10 +49,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Use Node.js 22 + - name: Use Node.js 24 uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: 'npm' cache-dependency-path: 'package-lock.json' - name: Install dependencies @@ -73,10 +73,10 @@ jobs: with: token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - - name: Use Node.js 22 + - name: Use Node.js 24 uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 - name: Update package version in package.json run: npm version --no-git-tag-version --allow-same-version ${{ needs.release_metadata.outputs.version_number }} @@ -150,6 +150,9 @@ jobs: name: Publish to NPM needs: [ release_metadata, validate, update_version ] runs-on: ubuntu-latest + permissions: + id-token: write # Required for OIDC + contents: read steps: - uses: actions/checkout@v4 with: @@ -180,17 +183,14 @@ jobs: fi echo "✓ Version check passed: package.json has correct version $ACTUAL_VERSION" - - name: Use Node.js 22 + - name: Use Node.js 24 uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: 'npm' cache-dependency-path: 'package-lock.json' - name: Install dependencies - run: | - echo "access=public" >> .npmrc - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc - npm ci + run: npm ci - name: Build module run: npm run build - name: Publish to NPM diff --git a/package.json b/package.json index 6e05728..ed0c849 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "mcp-client-capabilities", "version": "0.0.12", "description": "Index of all Model Context Protocol (MCP) clients and their capabilities", + "repository": { + "type": "git", + "url": "https://github.com/apify/mcp-client-capabilities" + }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [