-
Notifications
You must be signed in to change notification settings - Fork 130
/
shipit.experimental.yml
27 lines (26 loc) · 1.36 KB
/
shipit.experimental.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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:
interval: 24h
max_commits: null
override:
- |-
bash -i -c 'echo -e "---\n'"'@shopify/cli'"': patch\n---" > .changeset/force-experimental-build.md'
- bash -i -c "npm_config_loglevel=verbose pnpm clean"
# Experimental snapshots can't be made from prerelease mode, so exit prerelease
# mode. But don't attempt to exit if we're in regular mode, when exiting
# will fail.
- bash -i -c "if [ -f '.changeset/pre.json' ]; then npm_config_loglevel=verbose pnpm changeset pre exit; fi"
- bash -i -c "npm_config_loglevel=verbose pnpm changeset version --snapshot experimental"
- bash -i -c "npm_config_loglevel=verbose pnpm changeset-build-no-docs"
- 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 --tag experimental"