-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add pre-build step for nodejs stuff #2581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.drone.yml
Outdated
@@ -9,23 +9,29 @@ clone: | |||
tags: true | |||
|
|||
pipeline: | |||
pre-build: | |||
image: webhippie/nodejs:edge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edge
doesn't exist, just use latest
which is based on regular alpine edge packaging.
a7c1a77
to
33d4ac0
Compare
Codecov Report
@@ Coverage Diff @@
## master #2581 +/- ##
=======================================
Coverage 27.33% 27.33%
=======================================
Files 86 86
Lines 17137 17137
=======================================
Hits 4684 4684
Misses 11775 11775
Partials 678 678 Continue to review full report at Codecov.
|
a96c65b
to
5c020a7
Compare
- make generate | ||
- make vet | ||
- make lint | ||
- make fmt-check | ||
- make stylesheets-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing stylesheets-check
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to pre-build
step.
.drone.yml
Outdated
- make clean | ||
- make minify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minify
can be moved after stylesheets-check
to prevent unnecessary build step execution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has to be runned before make generate
.
I'm against that unminified file is stored in repository. Idea is to have all files in that condition so that you can |
IMHO @lafriks is right. |
5c020a7
to
26422fc
Compare
LGTM |
fd8d42b
to
facebb2
Compare
facebb2
to
fa7a3a1
Compare
fa7a3a1
to
c3bac73
Compare
LGTM |
As title. Based (=contains) on #2580 (need to be merged first, then I'll rebase this one). Only
.drone.yml
file contains related changes.Instead of installing node on each PR, use image with nodejs and run nodejs stuff there.
@tboerger Please take a look.