Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ jobs:

- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: npm install -g npm@latest
- run: npm publish --provenance --access public
22 changes: 22 additions & 0 deletions .github/workflows/unpublish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Unpublish version

on:
workflow_dispatch:
inputs:
version:
description: "Version to unpublish (e.g., 0.20.5)"
required: true
type: string

jobs:
unpublish:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org

- run: npm unpublish aicm@${{ inputs.version }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}