Browse Source

Update config.yml

pull/8/head
LecomteAdrien 6 years ago
parent
commit
4c86a2b74f
  1. 12
      .circleci/config.yml

12
.circleci/config.yml

@ -2,13 +2,9 @@ version: 2.1
jobs: jobs:
build: build:
docker: docker:
- image: cimg/node:14.10.1
auth:
username: mydockerhub-user
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps: # dans les steps faut mettre un restore et un save avec la key et un path de cache pour le save
- checkout
- run : echo 'Hello World!'
- 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 - run: yarn global add node-gyp && yarn install
- restore_cache: - restore_cache:
key: yarn-packages-{{ checksum "yarn.lock" }} key: yarn-packages-{{ checksum "yarn.lock" }}
@ -16,8 +12,6 @@ jobs:
key: yarn-packages-{{ checksum "yarn.lock" }} key: yarn-packages-{{ checksum "yarn.lock" }}
paths: paths:
- ~/.cache/yarn - ~/.cache/yarn
name: The First Step

Loading…
Cancel
Save