- Create .releaserc.json with conventional commits, changelog, npm version bump, and GitHub release - Regenerate all build icons (PNG, ICO, ICNS) from new GN logo - Normalize Node.js version to 20 across all CI workflows (testing, lint, format, release)
35 lines
792 B
YAML
35 lines
792 B
YAML
name: Release
|
|
|
|
on:
|
|
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 # Required for semantic-release to analyze commits
|
|
persist-credentials: false # We use a token in the next steps
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # Use GH_TOKEN to trigger other workflows
|
|
run: npx semantic-release
|