Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #115 from matrix-org/jryans/react-prepublish-only
Browse files Browse the repository at this point in the history
Remove redundant steps from React SDK pipeline
  • Loading branch information
dbkr authored Dec 22, 2020
2 parents 270c0d5 + 5d50041 commit b3251e1
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions matrix-react-sdk/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
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 --ignore-scripts"
- "echo '--- Install'"
- "yarn install --ignore-scripts"
- "echo '+++ Lint'"
- "yarn lint:js"
plugins:
- docker#v3.0.1:
image: "node:12"
# This allows the test script to see what branch it's testing and check
# out the equivalent dependency branches, if they exist
propagate-environment: true
mount-buildkite-agent: false

- label: ":eslint: Types Lint"
Expand Down Expand Up @@ -51,7 +47,7 @@ steps:
# the 'build' job.
- "./scripts/ci/install-deps.sh --ignore-scripts"
- "yarn run reskindex"
- "echo '+++ Running Tests'"
- "echo '+++ Test'"
- "yarn test"
plugins:
- docker#v3.0.1:
Expand All @@ -66,8 +62,8 @@ steps:
# We fetch the develop js-sdk to get matching types etc.
- "echo '--- Install js-sdk'"
- "./scripts/ci/install-deps.sh --ignore-scripts"
- "echo '+++ Install & Build'"
- "yarn install"
- "echo '+++ Build'"
- "yarn build"
plugins:
- docker#v3.0.1:
image: "node:12"
Expand All @@ -82,9 +78,7 @@ steps:
# e2e tests otherwise take +-8min
queue: "xlarge"
command:
- "echo '--- Install js-sdk'"
- "./scripts/ci/install-deps.sh --ignore-scripts"
- "echo '+++ Running Tests'"
# `end-to-end-tests.sh` contains `echo` commands to mark sections
- "./scripts/ci/end-to-end-tests.sh"
plugins:
- docker#v3.0.1:
Expand All @@ -108,7 +102,7 @@ steps:
# webpack loves to gorge itself on resources.
queue: "medium"
command:
- "echo '+++ Running Tests'"
- "echo '+++ Test'"
- "./scripts/ci/app-tests.sh"
plugins:
- docker#v3.0.1:
Expand All @@ -121,9 +115,9 @@ steps:

- label: ":globe_with_meridians: i18n"
command:
- "echo '--- Fetching Dependencies'"
- "echo '--- Install'"
- "yarn install --ignore-scripts"
- "echo '+++ Testing i18n output'"
- "echo '+++ Test'"
- "yarn diff-i18n"
plugins:
- docker#v3.0.1:
Expand Down

0 comments on commit b3251e1

Please sign in to comment.