fix(deps): update all non-major dependencies #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Use Node.js v16 | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version: 16 | |
cache: yarn | |
registry-url: https://registry.yarnpkg.com/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- 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 }} |