diff --git a/.buildkite/eslint_flow_jest.yml b/.buildkite/eslint_flow_jest.yml --- a/.buildkite/eslint_flow_jest.yml +++ b/.buildkite/eslint_flow_jest.yml @@ -2,9 +2,7 @@ - command: - '(pkill flow || true)' - 'yarn cleaninstall --frozen-lockfile --skip-optional' - - 'yarn eslint --max-warnings=0 & yarn workspace lib flow & yarn workspace web flow & yarn workspace landing flow & yarn workspace native flow' - - 'cd keyserver && mkdir secrets && touch secrets/db_config.json && touch secrets/olm_config.json && mkdir facts && touch facts/app_url.json && touch facts/commapp_url.json && touch facts/squadcal_url.json && touch facts/landing_url.json && touch facts/url.json && cd ../ && yarn workspace keyserver flow' - - 'cd lib && yarn test' - - 'cd ../keyserver && yarn test' + - 'yarn eslint --max-warnings=0 & yarn workspace lib flow & yarn workspace web flow & yarn workspace landing flow & yarn workspace native flow & yarn workspace keyserver flow' + - 'yarn workspace lib test && yarn workspace keyserver test' agents: - 'linux=true' diff --git a/.github/workflows/eslint_flow_jest.yml b/.github/workflows/eslint_flow_jest.yml --- a/.github/workflows/eslint_flow_jest.yml +++ b/.github/workflows/eslint_flow_jest.yml @@ -25,16 +25,7 @@ - name: '[keyserver] flow' working-directory: ./keyserver - run: | - mkdir secrets - touch secrets/db_config.json - touch secrets/olm_config.json - mkdir facts - touch facts/squadcal_url.json - touch facts/commapp_url.json - touch facts/landing_url.json - touch facts/url.json - ./node_modules/.bin/flow + run: ./node_modules/.bin/flow - name: '[web] flow' working-directory: ./web