mirror of https://github.com/vector-im/riot-web
Merge pull request #3933 from matrix-org/dbkr/stop_giving_jeff_bezos_all_our_money
Do less unnecessary work on CIpull/21833/head
commit
9887ba13b5
|
@ -1,8 +1,10 @@
|
|||
steps:
|
||||
- label: ":eslint: JS Lint"
|
||||
command:
|
||||
# We fetch the develop js-sdk to get our latest eslint rules
|
||||
- "echo '--- Install js-sdk'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "./scripts/ci/install-deps.sh --ignore-scripts"
|
||||
- "echo '+++ Lint'"
|
||||
- "yarn lint:js"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
|
@ -10,8 +12,9 @@ steps:
|
|||
|
||||
- label: ":eslint: TS Lint"
|
||||
command:
|
||||
- "echo '--- Install js-sdk'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "echo '--- Install'"
|
||||
- "yarn install --ignore-scripts"
|
||||
- "echo '+++ Lint'"
|
||||
- "yarn lint:ts"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
|
@ -19,8 +22,9 @@ steps:
|
|||
|
||||
- label: ":eslint: Types Lint"
|
||||
command:
|
||||
- "echo '--- Install js-sdk'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "echo '--- Install'"
|
||||
- "yarn install --ignore-scripts"
|
||||
- "echo '+++ Lint'"
|
||||
- "yarn lint:types"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
|
@ -41,13 +45,11 @@ steps:
|
|||
queue: "medium"
|
||||
command:
|
||||
- "echo '--- Install js-sdk'"
|
||||
# TODO: Remove hacky chmod for BuildKite
|
||||
- "chmod +x ./scripts/ci/*.sh"
|
||||
- "chmod +x ./scripts/*"
|
||||
- "echo '--- Installing Dependencies'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "echo '--- Running initial build steps'"
|
||||
- "yarn build"
|
||||
# We don't use the babel-ed output for anything so we can --ignore-scripts
|
||||
# to save transpiling the files. We run the transpile step explicitly in
|
||||
# the 'build' job.
|
||||
- "./scripts/ci/install-deps.sh --ignore-scripts"
|
||||
- "yarn run reskindex"
|
||||
- "echo '+++ Running Tests'"
|
||||
- "yarn test"
|
||||
plugins:
|
||||
|
@ -56,10 +58,8 @@ steps:
|
|||
|
||||
- label: "🛠 Build"
|
||||
command:
|
||||
- "echo '--- Install js-sdk'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "echo '+++ Building Project'"
|
||||
- "yarn build"
|
||||
- "echo '+++ Install & Build'"
|
||||
- "yarn install"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:12"
|
||||
|
@ -70,14 +70,8 @@ steps:
|
|||
# e2e tests otherwise take +-8min
|
||||
queue: "xlarge"
|
||||
command:
|
||||
# TODO: Remove hacky chmod for BuildKite
|
||||
- "echo '--- Setup'"
|
||||
- "chmod +x ./scripts/ci/*.sh"
|
||||
- "chmod +x ./scripts/*"
|
||||
- "echo '--- Install js-sdk'"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "echo '--- Running initial build steps'"
|
||||
- "yarn build"
|
||||
- "./scripts/ci/install-deps.sh --ignore-scripts"
|
||||
- "echo '+++ Running Tests'"
|
||||
- "./scripts/ci/end-to-end-tests.sh"
|
||||
plugins:
|
||||
|
@ -96,9 +90,6 @@ steps:
|
|||
# webpack loves to gorge itself on resources.
|
||||
queue: "medium"
|
||||
command:
|
||||
# TODO: Remove hacky chmod for BuildKite
|
||||
- "chmod +x ./scripts/ci/*.sh"
|
||||
- "chmod +x ./scripts/*"
|
||||
- "echo '+++ Running Tests'"
|
||||
- "./scripts/ci/riot-unit-tests.sh"
|
||||
plugins:
|
||||
|
@ -110,7 +101,7 @@ steps:
|
|||
- label: "🌐 i18n"
|
||||
command:
|
||||
- "echo '--- Fetching Dependencies'"
|
||||
- "yarn install"
|
||||
- "yarn install --ignore-scripts"
|
||||
- "echo '+++ Testing i18n output'"
|
||||
- "yarn diff-i18n"
|
||||
plugins:
|
||||
|
|
|
@ -6,9 +6,9 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
|
|||
|
||||
pushd matrix-js-sdk
|
||||
yarn link
|
||||
yarn install
|
||||
yarn install $@
|
||||
yarn build
|
||||
popd
|
||||
|
||||
yarn link matrix-js-sdk
|
||||
yarn install
|
||||
yarn install $@
|
||||
|
|
Loading…
Reference in New Issue