]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: enable ci
authorEvan You <yyx990803@gmail.com>
Sun, 25 Aug 2019 02:22:27 +0000 (22:22 -0400)
committerEvan You <yyx990803@gmail.com>
Sun, 25 Aug 2019 02:22:27 +0000 (22:22 -0400)
.circleci/config.yml [new file with mode: 0644]

diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644 (file)
index 0000000..69168c0
--- /dev/null
@@ -0,0 +1,25 @@
+version: 2
+jobs:
+  build:
+    docker:
+      - image: vuejs/ci
+
+    working_directory: ~/repo
+
+    steps:
+      - checkout
+
+      - restore_cache:
+          keys:
+          - v1-dependencies-{{ checksum "yarn.lock" }}
+          - v1-dependencies-
+
+      - run: yarn install
+
+      - save_cache:
+          paths:
+            - node_modules
+            - ~/.cache/yarn
+          key: v1-dependencies-{{ checksum "yarn.lock" }}
+
+      - run: yarn test