Skip to content

fix(deps): update dependency @joshdb/auto-ensure to v2.0.0-next.e95c03e.0 - autoclosed #306

fix(deps): update dependency @joshdb/auto-ensure to v2.0.0-next.e95c03e.0 - autoclosed

fix(deps): update dependency @joshdb/auto-ensure to v2.0.0-next.e95c03e.0 - autoclosed #306

name: NPM Deprecate PR On Merge
on:
pull_request:
types:
- closed
jobs:
deprecate-on-merge:
name: NPM Deprecate PR On Merge
runs-on: ubuntu-latest
if: github.repository_owner == 'josh-development'
steps:
- name: Checkout Project
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Node
uses: josh-development/.github/setup-node@main
- name: Deprecate versions
run: yarn npm-deprecate --name "*pr-${PR_NUMBER}*" -d -v
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
PR_NUMBER: ${{ github.event.number }}