mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-02-22 00:04:56 +01:00
ci: Restore cache restoration to the build
This commit is contained in:
parent
2520af8afd
commit
f426715dec
@ -15,13 +15,13 @@ jobs:
|
||||
<<: *defaults
|
||||
|
||||
steps:
|
||||
# - restore_cache:
|
||||
# name: Restore Repository Cache
|
||||
# keys:
|
||||
# - repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||
# - repo-{{ .Branch }}
|
||||
# - repo-master
|
||||
# - repo-
|
||||
- restore_cache:
|
||||
name: Restore Repository Cache
|
||||
keys:
|
||||
- repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||
- repo-{{ .Branch }}
|
||||
- repo-master
|
||||
- repo-
|
||||
|
||||
- checkout
|
||||
|
||||
@ -43,11 +43,11 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
|
||||
# - restore_cache:
|
||||
# name: Restore npm Package Cache
|
||||
# keys:
|
||||
# - npm-{{ checksum "package-lock.json" }}
|
||||
# - npm-
|
||||
- restore_cache:
|
||||
name: Restore npm Package Cache
|
||||
keys:
|
||||
- npm-{{ checksum "package-lock.json" }}
|
||||
- npm-
|
||||
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
@ -71,21 +71,13 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
|
||||
# - restore_cache:
|
||||
# name: Restore Build Cache
|
||||
# keys:
|
||||
# - build-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||
# - build-{{ .Branch }}
|
||||
# - build-master
|
||||
# - build-
|
||||
|
||||
# - run:
|
||||
# name: Build the Application
|
||||
# command: |
|
||||
# if [[ ! -d .next ]]; then
|
||||
# export PATH="$PATH:`yarn global bin`"
|
||||
# yarn run build
|
||||
# fi
|
||||
- restore_cache:
|
||||
name: Restore Build Cache
|
||||
keys:
|
||||
- build-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
|
||||
- build-{{ .Branch }}
|
||||
- build-master
|
||||
- build-
|
||||
|
||||
- run:
|
||||
name: Build the Framework
|
||||
|
Loading…
x
Reference in New Issue
Block a user