mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add caching to circle config
This commit is contained in:
@@ -5,9 +5,18 @@ jobs:
|
||||
- image: circleci/node:latest
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum "package.json" }}
|
||||
# fallback to using the latest cache if no exact match is found
|
||||
- v1-dependencies-
|
||||
- run:
|
||||
name: Install
|
||||
command: npm install
|
||||
command: yarn install
|
||||
- save_cache:
|
||||
paths:
|
||||
- node_modules
|
||||
key: v1-dependencies-{{ checksum "package.json" }}
|
||||
- run:
|
||||
name: Check Prettier, ESLint, Flow
|
||||
command: npm run ci-check
|
||||
command: yarn ci-check
|
||||
|
||||
Reference in New Issue
Block a user