-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow to deprecate app and theme packages in NPM
- Loading branch information
1 parent
a8a9a68
commit 9fd0ffa
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
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. |