Skip to content

Commit 05b411e

Browse files
committed
update circleci config
1 parent 6ad97c3 commit 05b411e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ jobs:
4040
working_directory: ~/repo/server
4141
steps:
4242
- attach_workspace:
43-
at: ~/repo/server
43+
at: ~/repo
4444
- run:
4545
name: Authenticate with registry
4646
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
4747
- run:
4848
name: Publish package
4949
command: npm publish
50-
test-ui:
50+
test-file-input:
5151
<<: *defaults
52-
working_directory: ~/repo/ui
52+
working_directory: ~/repo/inputs/file
5353
steps:
5454
- checkout:
5555
path: ~/repo
@@ -63,7 +63,7 @@ jobs:
6363
- run: npm install
6464
- run:
6565
name: Run tests
66-
command: npm test
66+
command: npm run type-check
6767

6868
- save_cache:
6969
paths:
@@ -72,13 +72,13 @@ jobs:
7272

7373
- persist_to_workspace:
7474
root: ~/repo
75-
paths: ui
76-
deploy-ui:
75+
paths: inputs/file
76+
deploy-file-input:
7777
<<: *defaults
78-
working_directory: ~/repo/ui
78+
working_directory: ~/repo/inputs/file
7979
steps:
8080
- attach_workspace:
81-
at: ~/repo/ui
81+
at: ~/repo
8282
- run:
8383
name: Authenticate with registry
8484
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
@@ -102,15 +102,15 @@ workflows:
102102
only: /^v.*/
103103
branches:
104104
ignore: /.*/
105-
test-deploy-ui:
105+
test-deploy-file-input:
106106
jobs:
107-
- test-ui:
107+
- test-file-input:
108108
filters:
109109
tags:
110110
only: /^v.*/
111-
- deploy-ui:
111+
- deploy-file-input:
112112
requires:
113-
- test-ui
113+
- test-file-input
114114
filters:
115115
tags:
116116
only: /^v.*/

0 commit comments

Comments
 (0)