Skip to content

Commit 7ccf9f5

Browse files
committed
FIx cache ordering
1 parent 0f58900 commit 7ccf9f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
<<: *defaults
5858
steps:
5959
- *restore_git_cache
60-
- *restore_npm_cache
6160
- checkout
61+
- *restore_npm_cache
6262
- run:
6363
name: Lint
6464
command: npm run test:lint -- --quiet --output-file test-results/eslint/results.xml --format junit
@@ -70,8 +70,8 @@ jobs:
7070
JEST_JUNIT_OUTPUT_NAME: results.xml
7171
steps:
7272
- *restore_git_cache
73-
- *restore_npm_cache
7473
- checkout
74+
- *restore_npm_cache
7575
- run:
7676
name: Unit
7777
environment:
@@ -88,8 +88,8 @@ jobs:
8888
NODE_OPTIONS: --max-old-space-size=4000
8989
steps:
9090
- *restore_git_cache
91-
- *restore_npm_cache
9291
- checkout
92+
- *restore_npm_cache
9393
- run:
9494
name: Build
9595
command: npm run build
@@ -113,8 +113,8 @@ jobs:
113113
JEST_JUNIT_OUTPUT_NAME: results.txt
114114
steps:
115115
- *restore_git_cache
116-
- *restore_npm_cache
117116
- checkout
117+
- *restore_npm_cache
118118
- run:
119119
name: Integration
120120
environment:
@@ -151,8 +151,8 @@ jobs:
151151
<<: *defaults
152152
steps:
153153
- *restore_git_cache
154-
- *restore_npm_cache
155154
- checkout
155+
- *restore_npm_cache
156156
- run: |
157157
git config --global user.email $(git log --pretty=format:"%ae" -n1)
158158
git config --global user.name $(git log --pretty=format:"%an" -n1)

0 commit comments

Comments
 (0)