Skip to content

Commit

Permalink
Workflow to deprecate app and theme packages in NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloriestra committed Jan 21, 2025
1 parent a8a9a68 commit 9fd0ffa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deprecate-old-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deprecate old packages

on:
workflow_dispatch:

jobs:
release:
name: Deprecate old packages
runs-on: ubuntu-latest
steps:
- name: Deprecate
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm deprecate @shopify/app@"*" "$MESSAGE"
npm deprecate @shopify/theme@"*" "$MESSAGE"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
MESSAGE: This package is deprecated. As of Shopify CLI version 3.59.0, it is bundled with @shopify/cli. Please use that package instead.

0 comments on commit 9fd0ffa

Please sign in to comment.