Add explicit setup step

This commit is contained in:
Stefan 2024-11-04 00:42:16 +00:00
parent d108b74f49
commit 49ca27d57f
2 changed files with 3 additions and 3 deletions

View file

@ -13,9 +13,11 @@ sources:
secrets:
- ff7f6e84-35b9-4aa9-afa1-1fbc3fe6a2d1 # ~/.neocities/$repo
tasks:
- build: |
- setup: |
cd $repo
npm install
- build: |
cd $repo
npm run build_pt1
lightningcss --minify --targets '> 0.25%, not IE 11' _site/style/*.css -o _site/style/*.css
npm run build_pt2

View file

@ -1,10 +1,8 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = [
bundler
html-minifier
lightningcss
ruby
neocities-cli
nodejs
nodePackages_latest.npm