- Delete conflicting .releaserc.json (keep release.config.cjs as single source) - Fix repo URL from Draculabo/AntigravityManager to evandrodevbr/GeminiNexus - Fix @semantic-release/git to commit pnpm-lock.yaml (not package-lock.json) - Normalize Node.js version to 20 across all workflows - Add packageManager field to package.json for pnpm consistency - Update AGENTS.md: npm -> pnpm (18 references) - Update .gitignore: add tools/, thoughts/, binaries, one-shot scripts
42 lines
787 B
YAML
42 lines
787 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
release:
|
|
name: Semantic Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: npx semantic-release
|