Skip to content

feat: add PrettifyObject type #600

feat: add PrettifyObject type

feat: add PrettifyObject type #600

name: NPM Deprecate PR versions On Merge
on:
pull_request:
types:
- closed
jobs:
deprecate-on-merge:
name: NPM Deprecate PR versions On Merge
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Install dependencies
uses: sapphiredev/.github/actions/install-yarn-dependencies@main
with:
node-version: 20
- name: Build Dependencies
run: yarn workspaces foreach --all --parallel --include @sapphire/fetch --include @sapphire/utilities run build
- 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 }}