chore(deps): update all non-major dependencies #260
Workflow file for this run
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 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@v3 | |
- name: Use Node.js v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
registry-url: https://registry.npmjs.org/ | |
- 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 }} |