You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
678 B
29 lines
678 B
version: 2.1
|
|
jobs:
|
|
build:
|
|
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!'
|
|
- run: yarn global add node-gyp && yarn install
|
|
- restore_cache:
|
|
key: yarn-packages-{{ checksum "yarn.lock" }}
|
|
- save_cache:
|
|
key: yarn-packages-{{ checksum "yarn.lock" }}
|
|
paths:
|
|
- ~/.cache/yarn
|
|
name: The First Step
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|