Browse Source

feat(config.yml): Install step

I installed the dependencies(Yarn)
test
sipe-daniel 6 years ago
parent
commit
c530778e3f
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -9,5 +9,19 @@ jobs:
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: echo "hello world" # run the `echo` command
- checkout
- run:
name: Install dependencies
command: yarn global add node-gyp && yarn install
- restore_cache:
name: Restore Yarn Package Cache
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --immutable
- save_cache:
name: Save Yarn Package Cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
Loading…
Cancel
Save