Yield generated for 1005e6a4-6d96-4f9b-94af-e4808abb9124
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.
 
 
 
 

30 lines
799 B

workflows:
version: 2.1
jobs:
build:
docker:
- image: cimg/node:14.10.1
- image: circleci/postgres:9.6.2-alpine
steps:
- checkout
- restore_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp
- run: yarn install
- run: yarn lint
- run: yarn format:check
- run: yarn test:ci
- run:
name: "database"
command: yarn test:e2e
environment:
DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb
JWT_SECRET: coucou
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- save_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules