提交 27d1779c 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add test before dist

上级 d219ae01
...@@ -68,7 +68,8 @@ RUN npm install \ ...@@ -68,7 +68,8 @@ RUN npm install \
&& sudo rm -fr /tmp/* ~/.npm && sudo rm -fr /tmp/* ~/.npm
COPY . . COPY . .
RUN npm run dist RUN npm run test \
&& npm run dist
# Loading from node_modules Folders: https://nodejs.org/api/modules.html # Loading from node_modules Folders: https://nodejs.org/api/modules.html
# If it is not found there, then it moves to the parent directory, and so on, until the root of the file system is reached. # If it is not found there, then it moves to the parent directory, and so on, until the root of the file system is reached.
...@@ -103,4 +104,3 @@ LABEL org.label-schema.license="Apache-2.0" \ ...@@ -103,4 +104,3 @@ LABEL org.label-schema.license="Apache-2.0" \
org.label-schema.docker.cmd.help="docker run -ti --rm zixia/wechaty help" \ org.label-schema.docker.cmd.help="docker run -ti --rm zixia/wechaty help" \
org.label-schema.docker.params="WECHATY_TOKEN=token token from https://www.chatie.io, WECHATY_LOG=verbose Set Verbose Log, TZ='Asia/Shanghai' TimeZone" org.label-schema.docker.params="WECHATY_TOKEN=token token from https://www.chatie.io, WECHATY_LOG=verbose Set Verbose Log, TZ='Asia/Shanghai' TimeZone"
RUN npm test
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册