diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfbb85a..3f54647 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ on: permissions: contents: write + id-token: write jobs: release: @@ -22,11 +23,17 @@ jobs: with: node-version: '20' cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm build:action + - name: Publish to npm + run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Get version info id: version run: | diff --git a/package.json b/package.json index 0874aba..b4692ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sentry/warden", - "version": "0.0.0", + "version": "0.1.0", "description": "Event-driven agent that reacts to GitHub events and executes skills via Claude Code SDK", "type": "module", "main": "dist/index.js",