Browse Source

install step2

pull/1/merge
pdarcas 6 years ago
parent
commit
7350ba5709
  1. 33
      .circleci/config.yml

33
.circleci/config.yml

@ -1,27 +1,28 @@
version: 2.1 # Use version 2.1 to enable orb usage.
orbs:
win: circleci/windows@2.2.0 # The Windows orb give you everything you need to start using the Windows executor.
jobs:
build: # name of your job
executor:
name: win/default # executor type
size: "medium" # resource class, can be "medium", "large", "xlarge", "2xlarge", defaults to "medium" if not specified
version: 2.1
commands:
restore_cache_cmd:
steps:
- restore_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
save_cache_cmd:
steps: steps:
# Commands are run in a Windows virtual machine environment
- checkout
- save_cache: - save_cache:
paths: paths:
- ~/.m2
- ~/.cache/yarn
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
jobs:
build:
docker:
image: cimg/node:10.10.1
steps:
- checkout
- restore_cache_cmd
- run: yarn global add node-gyp && yarn install
- save_cache_cmd

Loading…
Cancel
Save