Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Release
on:
workflow_dispatch:
inputs:
dry_run:
description: "Dry run (validate without publishing)"
type: boolean
default: false

permissions:
contents: read
Expand Down Expand Up @@ -35,7 +30,6 @@ jobs:
approve:
name: Approve Release
needs: build
if: ${{ !inputs.dry_run }}
runs-on: ubuntu-latest
environment: production
steps:
Expand Down Expand Up @@ -69,28 +63,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: npx semantic-release

dry-run:
name: Dry Run
needs: build
if: ${{ inputs.dry_run }}
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm clean-install
- name: Build
run: npm run build
- name: Dry run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --dry-run
Loading