Skip to content

Commit a8e84df

Browse files
committed
Update config.yml
1 parent 5832af8 commit a8e84df

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.circleci/config.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,61 +3,55 @@ jobs:
33
build:
44
docker:
55
- image: circleci/node:8
6-
working_directory: ~/repo
76
steps:
87
- checkout
98
- run: npm install
109
- run: npm run lint
1110
- persist_to_workspace:
12-
root: ~/repo
13-
paths: .
11+
root: ~/
12+
paths:
13+
- project
1414
test-node8:
1515
docker:
1616
- image: circleci/node:8
17-
working_directory: ~/repo
1817
steps:
1918
- attach_workspace:
20-
at: ~/repo
19+
at: ~/
2120
- run: npm run test:ci
2221
test-node9:
2322
docker:
2423
- image: circleci/node:9
25-
working_directory: ~/repo
2624
steps:
2725
- attach_workspace:
28-
at: ~/repo
26+
at: ~/
2927
- run: npm run test:ci
3028
test-node10:
3129
docker:
3230
- image: circleci/node:10
33-
working_directory: ~/repo
3431
steps:
3532
- attach_workspace:
36-
at: ~/repo
33+
at: ~/
3734
- run: npm run test:ci
3835
test-node11:
3936
docker:
4037
- image: circleci/node:11
41-
working_directory: ~/repo
4238
steps:
4339
- attach_workspace:
44-
at: ~/repo
40+
at: ~/
4541
- run: npm run test:ci
4642
test-node12:
4743
docker:
4844
- image: circleci/node:12
49-
working_directory: ~/repo
5045
steps:
5146
- attach_workspace:
52-
at: ~/repo
47+
at: ~/
5348
- run: npm run test:ci
5449
publish-beta:
5550
docker:
5651
- image: circleci/node:10
57-
working_directory: ~/repo
5852
steps:
5953
- attach_workspace:
60-
at: ~/repo
54+
at: ~/
6155
- run:
6256
name: Authenticate with registry
6357
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" >> ~/.npmrc
@@ -67,10 +61,9 @@ jobs:
6761
publish-stable:
6862
docker:
6963
- image: circleci/node:10
70-
working_directory: ~/repo
7164
steps:
7265
- attach_workspace:
73-
at: ~/repo
66+
at: ~/
7467
- run:
7568
name: Authenticate with registry
7669
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" >> ~/.npmrc

0 commit comments

Comments
 (0)