mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 22:22:23 +01:00
fix CI
This commit is contained in:
parent
d3900e2ad9
commit
e6a48c8799
@ -19,7 +19,7 @@
|
||||
"url": "https://github.com/sbrl/Minetest-WorldEditAdditions/issues"
|
||||
},
|
||||
"homepage": "https://github.com/sbrl/Minetest-WorldEditAdditions#readme",
|
||||
"devDependencies": {
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^1.0.1",
|
||||
"chroma-js": "^2.4.2",
|
||||
"columnify": "^1.6.0",
|
||||
@ -29,9 +29,7 @@
|
||||
"p-memoize": "^7.1.0",
|
||||
"p-queue": "^7.3.0",
|
||||
"phin": "^3.6.1",
|
||||
"pretty-ms": "^7.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"pretty-ms": "^7.0.1",
|
||||
"clean-css": "^5.3.1",
|
||||
"html-entities": "^2.3.3",
|
||||
"html-minifier-terser": "^7.0.0-beta.0"
|
||||
|
6
build.sh
6
build.sh
@ -8,9 +8,6 @@ if [[ "${1}" == "ci" ]] && [[ ! -z "${is_main}" ]]; then
|
||||
echo "Skipping build, because this commit does not appear to be on the 'main' branch, and we only deploy commits on the 'main' branch.";
|
||||
fi
|
||||
|
||||
# This causes the eleventy docs site to minify stuff
|
||||
export NODE_ENV=production;
|
||||
|
||||
# ██████ ██ ██████ ██ ██ ██ ██ ██████
|
||||
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
# ██ ██ ██████ ██ ██ ██ ██ ██ ██
|
||||
@ -94,6 +91,9 @@ npm install;
|
||||
|
||||
log_msg "Building website";
|
||||
|
||||
# This causes the eleventy docs site to minify stuff
|
||||
# Note that this is NOT before the npm install, as npm doesn't install everything if we do that
|
||||
export NODE_ENV=production;
|
||||
npm run build;
|
||||
|
||||
if [[ ! -d "_site" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user