diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..3ca5193 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: publish +on: + push: + tags: ["v*"] +permissions: + contents: read + id-token: write +jobs: + publish: + runs-on: ubuntu-latest + defaults: + run: + working-directory: opendia-mcp + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://registry.npmjs.org + - run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/opendia-mcp/package.json b/opendia-mcp/package.json index f089544..82f39a6 100644 --- a/opendia-mcp/package.json +++ b/opendia-mcp/package.json @@ -1,6 +1,6 @@ { "name": "opendia", - "version": "1.1.0", + "version": "1.1.1", "description": "🎯 OpenDia - The open alternative to Dia. Connect your browser to AI models with anti-detection bypass for Twitter/X, LinkedIn, Facebook", "main": "server.js", "bin": { @@ -48,4 +48,4 @@ "server.js", "README.md" ] -} +} \ No newline at end of file