--- tags: ohif --- # OHIF ->PR->ci 用到的外在環境:[circleCI] [netlify] [codecov] [cypress] 免費方案限制: - circleCI - netlify - codecov - cypress ### git flow: - Triangular Workflow  建立多個工作區 好處: worktree 可以讓你直接開一個獨立的工作區域切換出去做別的事,未 commit 的檔案原封不動留在原來的 repo。 ### workflow  1. PR_CHECKS(npm script) PR前要先通過所有unit e2e測試 2.PR_OPTIONAL_DOCKER_PUBLISH config: - [git] commit: [code style] prettier: es lint: [bundle] babel: webpack: [container] dockerfile: 1. Building App 2. Set up Nginx (proxy) [CI] circleCI: orbs: codecov cypress image: circleci/node:12.9.1 netlify: test: unit:jest e2e:cypress coverage:codecov bash script: - container: - dockerfile: 1. Building App 2. Set up Nginx (proxy) code style: - prettier es lint dev tool: - babel webpack test: - unit test:jest e2e test: cypress Coverage : codecov CI: - circleCI orbs: codecov cypress image: circleci/node:12.9.1 netlify npm script: - package cmd env --- PR_CHECKS - unit test: steps: 1.Update yarn 2.Restore Yarn and Cypress Package Cache 3.Install Dependencies 4.Save Yarn Package Cache 5.run test PR_OPTIONAL_DOCKER_PUBLISH - unit test: steps: DEPLOY - unit test: steps:
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up