Skip to content

Commit 98b3e08

Browse files
committed
💚 Add landing steps in CI
1 parent 7beafe3 commit 98b3e08

File tree

3 files changed

+2143
-1399
lines changed

3 files changed

+2143
-1399
lines changed

.circleci/config.yml

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,52 @@ jobs:
8282
paths:
8383
- client/build/
8484

85+
landing/install:
86+
working_directory: *workspace_root
87+
docker:
88+
- image: circleci/node:10
89+
steps:
90+
- checkout
91+
92+
- run: |
93+
cd landing/
94+
npm ci
95+
96+
- persist_to_workspace:
97+
root: *workspace_root
98+
paths:
99+
- landing/node_modules/
100+
101+
landing/lint:
102+
working_directory: *workspace_root
103+
docker:
104+
- image: circleci/node:10
105+
steps:
106+
- checkout
107+
- *attach_workspace
108+
109+
- run: |
110+
cd landing/
111+
npm run lint
112+
npm run prettier:check
113+
114+
landing/build:
115+
working_directory: *workspace_root
116+
docker:
117+
- image: circleci/node:10
118+
steps:
119+
- checkout
120+
- *attach_workspace
121+
122+
- run: |
123+
cd landing/
124+
npm run build
125+
126+
- persist_to_workspace:
127+
root: *workspace_root
128+
paths:
129+
- landing/build/
130+
85131
prisma_deploy:
86132
environment:
87133
DEPLOY_DIR: ~/prisma_deploy
@@ -96,7 +142,7 @@ jobs:
96142

97143
- add_ssh_keys:
98144
fingerprints:
99-
- "6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f"
145+
- '6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f'
100146

101147
- run: |
102148
mkdir -p ~/.ssh
@@ -126,7 +172,7 @@ jobs:
126172

127173
- add_ssh_keys:
128174
fingerprints:
129-
- "6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f"
175+
- '6f:f2:b4:c2:e5:13:28:f8:02:2d:da:48:34:0c:14:7f'
130176

131177
- run: |
132178
mkdir -p ~/.ssh
@@ -163,6 +209,13 @@ workflows:
163209
- client/build:
164210
requires:
165211
- client/install
212+
- landing/install
213+
- landing/lint:
214+
requires:
215+
- landing/install
216+
- landing/build:
217+
requires:
218+
- landing/install
166219
- deploy:
167220
requires:
168221
- server/lint

0 commit comments

Comments
 (0)