diff --git a/.circleci/config.yml b/.circleci/config.yml index 3d3830b..51280aa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,21 @@ -version: 2.1 +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: - docker: - - image: cimg/node:14.10.1 # the primary container, where your job's commands are run - auth: - username: mydockerhub-user - password: $DOCKERHUB_PASSWORD # context / project UI env-var reference + 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 + steps: - - checkout # check out the code in the project directory - - run: echo "hello world" # run the `echo` command \ No newline at end of file + # Commands are run in a Windows virtual machine environment + - checkout + - run: + name: Install dependencies + command: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: + name: Install node-gyp + command: yarn global add node-gyp && yarn install + \ No newline at end of file