Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/deprecate-v6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deprecate v6 on npm

on:
workflow_dispatch:

jobs:
deprecate:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Deprecate auth0 v6 versions
run: |
npm deprecate auth0@">=6.0.0 <7.0.0" "auth0 v6 is deprecated and no longer receives updates. v7 is Management-API-only with no breaking changes for Management API usage; the authentication layer moved to @auth0/auth0-auth-js and @auth0/auth0-server-js, which receive all new features. Migration guide: https://github.com/auth0/node-auth0/blob/master/v7_MIGRATION_GUIDE.md"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading