An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
JavaScript aicursorcursor-aicursorailovablelovable-devroocodetask-managertaskstasks-listwindsurfwindsurf-ai
chore: improve CI for trusted publishing
Ralph Khreish333b318242c3
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 4ee518e1..307207fe 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -39,6 +39,9 @@ jobs:cache: npmregistry-url: "https://registry.npmjs.org"+ - name: Update npm for trusted publishing+ run: npm install -g npm@latest+- name: Cache node_modulesuses: actions/cache@v4with:@@ -49,7 +52,7 @@ jobs:restore-keys: |${{ runner.os }}-node-- - name: Install Dependencies+ - name: Install dependenciesrun: npm citimeout-minutes: 2@@ -65,10 +68,11 @@ jobs:TM_PUBLIC_SUPABASE_URL: ${{ secrets.TM_PUBLIC_SUPABASE_URL }}TM_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.TM_PUBLIC_SUPABASE_ANON_KEY }}- - name: Create Release Pull Request or Publish to npm+ - name: Create Release Pull Request or Publishuses: changesets/action@v1with:- publish: node ./.github/scripts/release.mjs+ version: npm run version+ publish: npm run releaseenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}NPM_CONFIG_PROVENANCE: true@@ -77,7 +81,6 @@ jobs:rc:if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/main'runs-on: ubuntu-latest- environment: extension-releasesteps:- uses: actions/checkout@v4with:@@ -89,6 +92,9 @@ jobs:cache: npmregistry-url: "https://registry.npmjs.org"+ - name: Update npm for trusted publishing+ run: npm install -g npm@latest+- name: Cache node_modulesuses: actions/cache@v4with:@@ -147,17 +153,14 @@ jobs:TM_PUBLIC_SUPABASE_URL: ${{ secrets.TM_PUBLIC_SUPABASE_URL }}TM_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.TM_PUBLIC_SUPABASE_ANON_KEY }}- - name: Create Release Candidate Pull Request or Publish Release Candidate to npm- uses: changesets/action@v1- with:- publish: npx changeset publish+ - name: Publish RC to npm+ run: npx changeset publishenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}NPM_CONFIG_PROVENANCE: true- name: Commit & Push changes- uses: actions-js/[email protected]+ uses: stefanzweifel/git-auto-commit-action@v5with:- github_token: ${{ secrets.GITHUB_TOKEN }}- branch: ${{ github.ref }}- message: "chore: rc version bump"+ commit_message: "chore: rc version bump [skip ci]"+ branch: ${{ github.ref_name }}diff --git a/package.json b/package.jsonindex f1998953..4dffe973 100644--- a/package.json+++ b/package.json@@ -9,6 +9,10 @@"task-master-mcp": "dist/mcp-server.js","task-master-ai": "dist/mcp-server.js"},+ "publishConfig": {+ "provenance": true,+ "access": "public"+ },"workspaces": ["apps/*", "packages/*", "."],"scripts": {"build": "npm run build:build-config && cross-env NODE_ENV=production tsdown",@@ -29,7 +33,8 @@"postpack": "chmod +x dist/task-master.js dist/mcp-server.js","changeset": "changeset","changeset:validate": "node .github/scripts/validate-changesets.mjs",- "release": "changeset publish",+ "version": "changeset version",+ "release": "node ./.github/scripts/release.mjs","publish-packages": "turbo run build lint test && changeset version && changeset publish","inspector": "npx @modelcontextprotocol/inspector node dist/mcp-server.js","mcp-server": "node dist/mcp-server.js",