forked from Shopify/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shipit.experimental.yml
28 lines (27 loc) · 1.3 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
28
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 | 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-manifests"
- bash -i -c "npm_config_loglevel=verbose pnpm nx run cli-kit:build"
- bash -i -c "npm_config_loglevel=verbose pnpm changeset publish --tag experimental"
post:
- bash -i -c "pnpm run update-bugsnag"