mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
fix: fix running test into Docker container
This commit is contained in:
parent
edf2ff343d
commit
275dca11e1
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ RUN npm config set registry http://registry.npmjs.org/ && \
|
|||
npm install -g -s flow-bin@0.60.0 && \
|
||||
yarn install --production=false && \
|
||||
yarn run lint && \
|
||||
yarn run test && \
|
||||
yarn run code:build && \
|
||||
yarn run build:webui && \
|
||||
yarn cache clean && \
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
"prepublish": "in-publish && npm run build:webui || not-in-publish",
|
||||
"flow": "flow",
|
||||
"pretest": "npm run code:build",
|
||||
"test": "cross-env BABEL_ENV=test jest",
|
||||
"test": "cross-env NODE_ENV=test BABEL_ENV=test jest",
|
||||
"pre:ci": "npm run lint && npm run build:webui",
|
||||
"coverage:publish": "codecov",
|
||||
"lint": "npm run flow && eslint .",
|
||||
|
|
Loading…
Add table
Reference in a new issue