Browse Source

step 4 change node version

main
guidezSeb 6 years ago
parent
commit
46422345a6
  1. 8
      .circleci/config.yml

8
.circleci/config.yml

@ -6,7 +6,7 @@ orbs:
jobs: jobs:
build: # name of your job build: # name of your job
docker: docker:
- image: 'cimg/node:14.10.1'
- image: 'cimg/node:12'
environment: environment:
DATABASE_URL: postgresql://root@localhost/circle_test DATABASE_URL: postgresql://root@localhost/circle_test
JWT_SECRET: something JWT_SECRET: something
@ -24,7 +24,11 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp
- run: yarn install
- run: yarn lint
- run: yarn format:check
- run: yarn test:ci
- run: yarn test:e2e - run: yarn test:e2e
- save_cache: - save_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} key: npm-v1-dependencies-{{ checksum "yarn.lock" }}

Loading…
Cancel
Save