Skip to content

Commit

Permalink
test: check if build is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed May 8, 2020
1 parent 4279327 commit bd26b5b
Show file tree
Hide file tree
Showing 2 changed files with 15 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
1 change: 1 addition & 0 deletions build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54229,6 +54229,7 @@ exports.fromLocalCache = fromLocalCache;
*/
function toLocalCache(root, version) {
return __awaiter(this, void 0, void 0, function* () {
console.log('asd');
return toolCache.cacheDir(root, 'expo-cli', version);
});
}
Expand Down

0 comments on commit bd26b5b

Please sign in to comment.