Skip to content

Commit

Permalink
ci: add deprecate-on-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Aug 17, 2024
1 parent d692982 commit 89e9d87
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deprecate-on-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: NPM Deprecate PR versions On Merge

on:
pull_request:
types:
- closed

jobs:
deprecate-on-merge:
name: NPM Deprecate PR versions On Merge
uses: sapphiredev/.github/.github/workflows/reusable-yarn-job.yml@main
with:
script-name: npm-deprecate --name "*pr-${{ github.event.number }}*" -d -v
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 comments on commit 89e9d87

Please sign in to comment.