Skip to content

chore(deps): update github/codeql-action digest to 461ef6c #309

chore(deps): update github/codeql-action digest to 461ef6c

chore(deps): update github/codeql-action digest to 461ef6c #309

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 }}