Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
617019a023
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .circleci/config.yml

21
.circleci/config.yml

@ -1,11 +1,17 @@
version: 2.1 version: 2.1
executors: executors:
node-executor:
docker:
- image: circleci/node:12
auth:
username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD
- node-executor:
docker:
- image: circleci/node:12
auth:
username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD
- postgresql-executor:
docker:
- image: circleci/postgres
auth:
username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD
jobs: jobs:
build: build:
executor: node-executor executor: node-executor
@ -36,6 +42,9 @@ jobs:
- restore_cache: - restore_cache:
name: Restore yarn package cache name: Restore yarn package cache
key: npm-v7-dependencies-{{ checksum "yarn.lock" }} key: npm-v7-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Start PostgreSQL database
command:
- run: - run:
name: Run test with jest name: Run test with jest
command: yarn test:ci command: yarn test:ci

Loading…
Cancel
Save