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