mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Updated CircleCI config
This commit is contained in:
@@ -2,19 +2,17 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
# specify the version you desire here
|
|
||||||
- image: circleci/node:7.10
|
- image: circleci/node:7.10
|
||||||
|
|
||||||
# Specify service dependencies here if necessary
|
|
||||||
# CircleCI maintains a library of pre-built images
|
|
||||||
# documented at https://circleci.com/docs/2.0/circleci-images/
|
|
||||||
# - image: circleci/mongo:3.4.4
|
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: update-npm
|
||||||
|
command: 'sudo npm install -g npm@latest'
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
@@ -22,7 +20,9 @@ jobs:
|
|||||||
# fallback to using the latest cache if no exact match is found
|
# fallback to using the latest cache if no exact match is found
|
||||||
- v1-dependencies-
|
- v1-dependencies-
|
||||||
|
|
||||||
- run: yarn install
|
- run:
|
||||||
|
name: install
|
||||||
|
command: npm install
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
@@ -30,4 +30,6 @@ jobs:
|
|||||||
key: v1-dependencies-{{ checksum "package.json" }}
|
key: v1-dependencies-{{ checksum "package.json" }}
|
||||||
|
|
||||||
# run tests!
|
# run tests!
|
||||||
- run: yarn test
|
- run:
|
||||||
|
name: test
|
||||||
|
command: npm run unit
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
Todo
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
todo
|
|
||||||
Reference in New Issue
Block a user