forked from auniverseaway/helix-internal-links
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
44 lines (35 loc) · 1023 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:8-stretch
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- run:
name: Installing Dependencies
command: npm install
- run:
name: Installing Helix CLI
command: npm install @adobe/helix-cli
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run:
name: Building Templates
command: npx hlx build
- run: git diff
- run:
name: Deploying to Adobe I/O Runtime
command: npx hlx deploy --no-auto
- run:
name: Activate CDN
command: npx hlx strain
- run:
name: Test Performance
command: npx hlx perf