root: Make lint/docs-build CI jobs depend on build

This commit is contained in:
willclarktech 2021-02-09 10:56:13 +00:00
parent 9107026436
commit c3b0292ffa
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -5,7 +5,9 @@ workflows:
# Keep those job names in sync with .mergify.yml # Keep those job names in sync with .mergify.yml
jobs: jobs:
- build - build
- docs-build - docs-build:
requires:
- build
- docs-deploy: - docs-deploy:
requires: requires:
- docs-build - docs-build
@ -14,7 +16,9 @@ workflows:
filters: filters:
branches: branches:
only: main only: main
- lint - lint:
requires:
- build
- test: - test:
requires: requires:
- build - build
@ -534,6 +538,11 @@ jobs:
name: Install Git Large File Storage (LFS) name: Install Git Large File Storage (LFS)
command: sudo apt-get install git-lfs command: sudo apt-get install git-lfs
- checkout - checkout
- attach_workspace:
at: /tmp/builds
- run:
name: Merge build folders into project (merge with hardlinks)
command: cp --recursive --link /tmp/builds/* .
- run: - run:
name: Version information name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)" command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
@ -584,6 +593,11 @@ jobs:
- image: circleci/node:10-buster - image: circleci/node:10-buster
steps: steps:
- checkout - checkout
- attach_workspace:
at: /tmp/builds
- run:
name: Merge build folders into project (merge with hardlinks)
command: cp --recursive --link /tmp/builds/* .
- run: - run:
name: Install shfmt name: Install shfmt
command: | command: |