Browse Source

Installation

pull/1/merge
Thaisrr 6 years ago
committed by GitHub
parent
commit
289da8cb33
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      .circleci/config.yml

29
.circleci/config.yml

@ -1,8 +1,25 @@
version: 2.1 version: 2.1
workflows:
workflow:
jobs:
- hello
- install
jobs: jobs:
build:
docker:
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run
steps:
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
hello:
docker:
- image: cimg/node:14.10.1
steps:
- checkout
- run: echo "Hello World !"
install:
docker:
- image: cimg/node:14.10.1
steps:
- checkout
- restore_cache:
key: yarn-package-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install
- save_cache:
key: yarn-package-{{ checksum "yarn.lock" }}
path:
- ./node_modules
Loading…
Cancel
Save