Browse Source

👷 change node version

main
guidezSeb 6 years ago
parent
commit
4df50884b7
  1. 8
      .circleci/config.yml
  2. 2
      Dockerfile

8
.circleci/config.yml

@ -2,7 +2,7 @@ version: 2.1
jobs: jobs:
install: install:
docker: docker:
- image: circleci/node:9.5
- image: circleci/node:latest
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -16,7 +16,7 @@ jobs:
- node_modules - node_modules
test: test:
docker: docker:
- image: circleci/node:9.5
- image: circleci/node:latest
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -27,7 +27,7 @@ jobs:
command: yarn test command: yarn test
prod-build: prod-build:
docker: docker:
- image: circleci/node:9.5
- image: circleci/node:latest
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -47,7 +47,7 @@ jobs:
- dist - dist
deploy-netlify: deploy-netlify:
docker: docker:
- image: circleci/node:9.5
- image: circleci/node:latest
working_directory: ~/deploy-netlfify working_directory: ~/deploy-netlfify
steps: steps:
- attach_workspace: - attach_workspace:

2
Dockerfile

@ -1,4 +1,4 @@
FROM node:9.5
FROM node:latest
WORKDIR /app WORKDIR /app

Loading…
Cancel
Save