mirror of
https://github.com/HackPlan/polaris-react.git
synced 2026-01-12 22:44:36 +08:00
* Use the latest version of yarn to upgrade Polaris on the style guide ShipIt comes with an old version of Yarn, that doesn't support integrity hashes. This means each polaris-styleguide PR coming from polaris-react deploys is deleting thousands of lines (hashes) from yarn.lock. By leveraging the latest version of Yarn, we know those hashes will be kept in. * Update UNRELEASED.md * Use a strict version of Yarn * Get the yarn version from dev.yml
23 lines
651 B
YAML
23 lines
651 B
YAML
name: polaris-react
|
||
up:
|
||
- node:
|
||
yarn: v1.13.0
|
||
version: v10.13.0 # to be kept in sync with .nvmrc and .circleci/config.yml
|
||
- git_hooks:
|
||
pre-commit: pre-commit
|
||
|
||
open:
|
||
app: http://localhost:6006/
|
||
shipit: https://shipit.shopify.io/shopify/polaris-react/production
|
||
|
||
commands:
|
||
# People new to the project might be tempted to run some
|
||
# common commands, so let’s have them in here.
|
||
# For a list of Common Commands in Projects, check out:
|
||
# https://github.com/Shopify/dev/wiki/Common-Commands-in-Projects
|
||
build: yarn run build
|
||
server: yarn run dev
|
||
style: yarn run lint
|
||
test: yarn run test
|
||
type-check: yarn run ts
|