Switch to yarn

This commit is contained in:
Stefan 2024-11-04 01:15:07 +00:00
parent dcb1d8ebf8
commit c2f6f9a134

View file

@ -4,7 +4,7 @@ packages:
- nixos.lightningcss
- nixos.neocities-cli
- nixos.nodejs
- nixos.nodePackages_latest.npm
- nixos.yarn
- nixos.sass
environment:
repo: vegan-prestwich
@ -15,11 +15,11 @@ secrets:
tasks:
- build: |
cd $repo
npm install --verbose fast-glob
yarn add fast-glob @11ty/eleventy --verbose
mkdir -p _site/style
sass style/style.scss _site/style/style.css
lightningcss --minify --targets '> 0.25%, not IE 11' _site/style/*.css -o _site/style/*.css
npx @11ty/eleventy
yarn eleventy
html-minifier --input-dir _site --output-dir _site --collapse-whitespace --file-ext html
set +x
export NEOCITIES_API_KEY=$(cat /home/user/.neocities/vegan-prestwich)