mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 13:47:54 +00:00
invoke the linter using npm
This commit is contained in:
parent
762ff2b498
commit
0546ba51d9
@ -45,7 +45,8 @@ RUN JOBS=MAX npm install --unsafe-perm
|
||||
|
||||
COPY src /usr/src/app/src
|
||||
|
||||
RUN npm run build
|
||||
RUN npm run lint \
|
||||
&& npm run build
|
||||
|
||||
# Re-install just production modules. This should be fast due to npm cache from previous layer
|
||||
RUN rm -rf node_modules \
|
||||
|
@ -16,9 +16,6 @@ MAKE_ARGS="ARCH=${ARCH} \
|
||||
PUBNUB_PUBLISH_KEY=${PUBNUB_PUBLISH_KEY} \
|
||||
MIXPANEL_TOKEN=${MIXPANEL_TOKEN}"
|
||||
|
||||
# Disabled until this is merged in npm https://github.com/npm/npm/pull/13257
|
||||
# make ${MAKE_ARGS} lint
|
||||
|
||||
make ${MAKE_ARGS} \
|
||||
SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} \
|
||||
DEPLOY_REGISTRY= \
|
||||
|
Loading…
Reference in New Issue
Block a user