Skip to content

chore(deps): update github actions #314

chore(deps): update github actions

chore(deps): update github actions #314

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
with:
turbo: true
- 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 }}