Browse Source

fix install 5th time

pull/1/merge
Gautier couture 6 years ago
parent
commit
42a9d340f9
  1. 26
      .circleci/config.yml

26
.circleci/config.yml

@ -1,15 +1,15 @@
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.
version: 2.1
jobs: 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
build:
docker:
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run
steps: steps:
# Commands are run in a Windows virtual machine environment
- checkout
- run: yarn global add node-gyp && yarn install
- checkout # check out the code in the project directory
- run: yarn global add node-gyp
- run: yarn install
- restore_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}
- save_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
Loading…
Cancel
Save