-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stable/3.67 shipit configuration
- Loading branch information
1 parent
a8e9a95
commit f35bef7
Showing
1 changed file
with
24 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,24 @@ | ||
ci: | ||
require: [] | ||
|
||
dependencies: | ||
override: | ||
# We are making sure the deploys point to the NPM registry to prevent | ||
# 404 issues like the one described in this comment: | ||
# https://github.com/yarnpkg/yarn/issues/2935#issuecomment-355292633 | ||
- echo 'registry "https://registry.npmjs.org/"' | tee .npmrc .yarnrc | ||
- curl -fsSL https://get.pnpm.io/install.sh | PNPM_VERSION=8.15.7 SHELL=`which bash` bash - | ||
- bash -i -c "pnpm install" | ||
deploy: | ||
override: | ||
- bash -i -c "npm_config_loglevel=verbose pnpm clean" | ||
- bash -i -c "npm_config_loglevel=verbose NODE_ENV=production pnpm bundle" | ||
- bash -i -c "npm_config_loglevel=verbose node bin/create-cli-duplicate-package.js" | ||
- bash -i -c "npm_config_loglevel=verbose pnpm changeset publish" | ||
# When this is no longer the latest stable version, do 2 things: | ||
# 1. Replace the previous line with this, replacing 3.x with the actual version: | ||
# - bash -i -c "npm_config_loglevel=verbose pnpm changeset publish --tag stable-3.x" | ||
# This will prevent publishes from being tagged as latest. | ||
# 2. Remove the following 2 lines, which update Homebrew and Shopify.dev docs | ||
- bash -i -c "./bin/package.js" | ||
- bash -i -c "./bin/create-doc-pr.js" |