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.
23 lines
514 B
23 lines
514 B
version: 2.1
|
|
workflows:
|
|
version: 2
|
|
devopsTP1:
|
|
jobs:
|
|
- build
|
|
jobs:
|
|
build:
|
|
docker: &config
|
|
- image: cimg/node:12.18.4
|
|
auth:
|
|
username: mydockerhub-user
|
|
password: $DOCKERHUB_PASSWORD
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
|
|
- run: yarn install
|
|
- save_cache:
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
|
|
paths:
|
|
- ./node_modules
|