Skip to content

Commit

Permalink
Pin the postcss-cli version (#1930)
Browse files Browse the repository at this point in the history
This fixes a break in CI. [email protected] broke something in hugo, so
we'll pin the version, which fixes things and allows CI to run again! 🙌
  • Loading branch information
markmandel authored Dec 15, 2020
1 parent 156582c commit 0c3bb3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/includes/website.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ site-static: ensure-build-image
-docker run --rm $(common_mounts) --workdir=$(mount_path)/site $(DOCKER_RUN_ARGS) $(build_tag) rm -r ./public
-mkdir $(agones_path)/site/public
# for some reason, this only work locally
# [email protected] broke things, so pinning the version
docker run --rm $(common_mounts) --workdir=$(mount_path)/site $(DOCKER_RUN_ARGS) $(build_tag) \
bash -c "npm list postcss-cli || npm install postcss-cli"
bash -c "npm list postcss-cli || npm install postcss-cli@8.3.0"
# autoprefixer 10.0.0 broke things, so pinning the version
docker run --rm $(common_mounts) --workdir=$(mount_path)/site $(DOCKER_RUN_ARGS) $(build_tag) \
bash -c "npm list autoprefixer || npm install [email protected]"
Expand Down

0 comments on commit 0c3bb3a

Please sign in to comment.