Browse Source

fix(config.yml):CircleCI received exit code 127

I resolved this issue:
error Command failed with exit code 127.
dockerbuild-pushstep
sipe-daniel 6 years ago
parent
commit
9cce12f97d
  1. 8
      .circleci/config.yml
  2. 5
      Dockerfile

8
.circleci/config.yml

@ -15,7 +15,7 @@ workflows:
jobs: jobs:
build: build:
docker: docker:
- image: cimg/node:12.18
- image: cimg/node:14.10.1
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -31,7 +31,7 @@ jobs:
- ./node_modules - ./node_modules
lint: lint:
docker: docker:
- image: cimg/node:12.18
- image: cimg/node:14.10.1
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -42,7 +42,7 @@ jobs:
command: yarn lint && yarn format:check command: yarn lint && yarn format:check
test: test:
docker: docker:
- image: cimg/node:12.18
- image: cimg/node:14.10.1
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -70,7 +70,7 @@ jobs:
- restore_cache: - restore_cache:
name: Restore Yarn Package Cache name: Restore Yarn Package Cache
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- yarn-packages-v2{{ checksum "yarn.lock" }}
- run: - run:
name: "E2e Test" name: "E2e Test"
command: yarn test:e2e command: yarn test:e2e

5
Dockerfile

@ -0,0 +1,5 @@
FROM node:14.10.1
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install
COPY . .
CMD ["yarn", "start"]
Loading…
Cancel
Save