Commit 8589a66a authored by Jure's avatar Jure

fix(ci): use styleguide:build instead

parent cd1bc6f9
Pipeline #11555 canceled with stages
in 13 minutes and 51 seconds
......@@ -29,7 +29,8 @@ pages:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: production
script:
- yarn styleguide
- cd ${HOME}
- yarn styleguide:build
- cp -R docs/styleguide/ public/
artifacts:
paths:
......@@ -41,7 +42,8 @@ pages:review:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: review
script:
- yarn styleguide
- cd ${HOME}
- yarn styleguide:build
- cp -R docs/styleguide/ review/
artifacts:
paths:
......
......@@ -30,7 +30,8 @@
},
"scripts": {
"clean": "lerna clean",
"styleguide": "npm run --prefix docs styleguide",
"styleguide": "yarn --cwd docs styleguide",
"styleguide:build": "yarn --cwd docs styleguide:build",
"test": "jest --no-cache --coverage --detectOpenHandles",
"lint": "yarn lint:js && yarn lint:style && yarn lint:json",
"lint:js": "eslint 'packages/**/*.{js,jsx}'",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment