Skip to content

Commit

Permalink
test: check if build is up to date (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored May 8, 2020
1 parent 4279327 commit cb49096
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ scripts: &scripts
- run: yarn lint
- run: yarn build

uptodate: &uptodate
steps:
- checkout
- run: yarn
- run: yarn build
- run: git diff --exit-code build

jobs:
node-10:
<<: *scripts
Expand All @@ -26,6 +33,12 @@ jobs:
<<: *scripts
docker:
- image: circleci/node:14
uptodate:
<<: *uptodate
requires:
- node-12
docker:
- image: circleci/node:12

workflows:
version: 2
Expand All @@ -35,3 +48,4 @@ workflows:
- node-12
- node-13
- node-14
- uptodate

0 comments on commit cb49096

Please sign in to comment.