Skip to content

Commit

Permalink
chore/renew-pkg (#110)
Browse files Browse the repository at this point in the history
* chore: renew packages

* chore: update cmd
  • Loading branch information
mvfsillva authored Sep 30, 2019
1 parent a8f3f18 commit 8630b88
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5,128 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-dependencies-{{ checksum "yarn.lock" }}
- v1-dependencies-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v1-dependencies-{{ checksum "package-lock.json" }}
- v1-dependencies-
- run:
name: Install dependencies
command: |
npm install
- save_cache:
key: v1-dependencies-{{ checksum "yarn.lock" }}
key: v1-dependencies-{{ checksum "package-lock.json" }}
paths:
- node_modules
- persist_to_workspace:
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM node:9.11-alpine
WORKDIR /app/

COPY package.json yarn.lock /app/
RUN yarn install --production -s --no-progress --pure-lockfile && \
yarn cache clean
RUN npm install --production -s --no-progress --pure-lockfile

COPY . /app/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"precommit": "lint-staged",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"test": "yarn lint && yarn test:unit && yarn test:integration",
"test": "npm run lint && npm run test:unit && npm run test:integration",
"test:unit": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=html mocha --opts ./test/unit/mocha.opts",
"test:integration": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=html mocha --opts ./test/integration/mocha.opts"
},
Expand Down
Loading

0 comments on commit 8630b88

Please sign in to comment.