Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

NPM auto deprecate #1008

NPM auto deprecate

NPM auto deprecate #1008

name: NPM auto deprecate
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
jobs:
auto-deprecate:
name: NPM auto deprecate
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node v22
uses: actions/setup-node@v4.4.0
with:
node-version: 22
cache: yarn
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Deprecate versions
run: 'npx @favware/npm-deprecate --name "*dev*" --package "node-brawlstars"'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}