Skip to content

Commit 4a6e503

Browse files
Fixing test issue
1 parent 1ce61a4 commit 4a6e503

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ env:
7979
8080
steps:
8181
- label: ':nodejs: Install dependencies'
82-
commands: npm ci
82+
command: npm ci
8383
plugins:
8484
- cache#v1.7.0:
8585
backend: fs
@@ -88,7 +88,7 @@ steps:
8888
restore: file
8989
save: file
9090
compression: tgz # Optional compression
91-
```
91+
```
9292

9393
#### `s3`
9494

@@ -113,7 +113,7 @@ env:
113113
114114
steps:
115115
- label: ':nodejs: Install dependencies'
116-
commands: npm ci
116+
command: npm ci
117117
plugins:
118118
- cache#v1.7.0:
119119
backend: s3
@@ -212,7 +212,7 @@ You can assume that all calls like this will be preceded by an `exists` call to
212212

213213
Will save whatever is in the `$FILENAME` path (which can be a file or folder) in a way that can be identified by the string `$KEY`. A non-0 return code will cause the whole execution to halt and the current step to fail.
214214

215-
* should fail with error 255 on any instance, preferably without outpu
215+
* should fail with error 255 on any instance, preferably without output
216216

217217
## Examples
218218

@@ -232,7 +232,8 @@ steps:
232232
command: npm ci
233233
plugins:
234234
- cache#v1.7.0:
235-
manifest: package-lock.json
235+
manifest:
236+
- package-lock.json
236237
path: node_modules
237238
restore: pipeline
238239
save:
@@ -243,7 +244,8 @@ steps:
243244
command: npm test # does not save cache, not necessary
244245
plugins:
245246
- cache#v1.7.0:
246-
manifest: package-lock.json
247+
manifest:
248+
- package-lock.json
247249
path: node_modules
248250
restore: file
249251
- wait: ~ # don't run deploy until tests pass
@@ -252,7 +254,8 @@ steps:
252254
command: npm run deploy
253255
plugins:
254256
- cache#v1.7.0:
255-
manifest: package-lock.json
257+
manifest:
258+
- package-lock.json
256259
path: node_modules
257260
restore: file
258261
save:

0 commit comments

Comments
 (0)