Skip to content

Commit d45b38c

Browse files
authored
chore(ci): migrate to circle ci 2 (#281)
1 parent 6b5471c commit d45b38c

File tree

2 files changed

+62
-3
lines changed

2 files changed

+62
-3
lines changed

.circleci/config.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
working_directory: ~/repo
5+
docker:
6+
- image: circleci/node:8-browsers
7+
8+
jobs:
9+
install:
10+
<<: *defaults
11+
steps:
12+
- checkout
13+
- restore_cache:
14+
keys:
15+
- v1-vue-class-component-{{ .Branch }}-{{ checksum "yarn.lock" }}
16+
- v1-vue-class-component-{{ .Branch }}-
17+
- v1-vue-class-component-
18+
- run: yarn install
19+
- save_cache:
20+
paths:
21+
- node_modules
22+
key: v1-vue-class-component-{{ .Branch }}-{{ checksum "yarn.lock" }}
23+
- persist_to_workspace:
24+
root: ~/
25+
paths:
26+
- repo
27+
28+
build:
29+
<<: *defaults
30+
steps:
31+
- attach_workspace:
32+
at: ~/
33+
- run: yarn build
34+
35+
example-build:
36+
<<: *defaults
37+
steps:
38+
- attach_workspace:
39+
at: ~/
40+
- run: yarn example
41+
42+
test:
43+
<<: *defaults
44+
steps:
45+
- attach_workspace:
46+
at: ~/
47+
- run: yarn test
48+
49+
workflows:
50+
version: 2
51+
build-and-test:
52+
jobs:
53+
- install
54+
- build:
55+
requires:
56+
- install
57+
- example-build:
58+
requires:
59+
- install
60+
- test:
61+
requires:
62+
- install

circle.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy