Skip to content

Commit c2d1861

Browse files
sharkykhyyx990803
authored andcommitted
ci: migrate to CircleCI v2 (#29)
1 parent cf8b6e8 commit c2d1861

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
# https://circleci.com/docs/2.0/circleci-images/#nodejs
6+
- image: circleci/node:6
7+
8+
working_directory: ~/vue-style-loader
9+
10+
steps:
11+
- checkout
12+
13+
# Download and cache dependencies
14+
- restore_cache:
15+
keys:
16+
- v1-dependencies-{{ checksum "package.json" }}
17+
# fallback to using the latest cache if no exact match is found
18+
- v1-dependencies-
19+
20+
- run: yarn install
21+
22+
- save_cache:
23+
paths:
24+
- node_modules
25+
key: v1-dependencies-{{ checksum "package.json" }}
26+
27+
# run tests!
28+
- run: yarn test

circle.yml

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

0 commit comments

Comments
 (0)