From 898aa21fa4bdcde992f69a3b70c8142d29907f11 Mon Sep 17 00:00:00 2001 From: Alexander Esgen Date: Sun, 20 Oct 2024 14:21:24 +0200 Subject: [PATCH] Install Sass differently Otherwise, we run into https://github.com/parcel-bundler/watcher/issues/152 --- .github/workflows/build.yml | 8 ++------ README.md | 3 ++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 990d602..09b8e19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,9 +45,7 @@ jobs: ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/develop/ghcup-cross-0.0.8.yaml ghcup install ghc --set wasm32-wasi-9.10.1 -- $CONFIGURE_ARGS - - name: install-sass - run: | - npm install -g sass + - uses: dw-labs-org/dart-sass-gha@v1 - name: build-frontend run: | @@ -80,9 +78,7 @@ jobs: env: FLAVOUR: '9.10' - - name: install-sass - run: | - npm install -g sass + - uses: dw-labs-org/dart-sass-gha@v1 - name: build-frontend run: | diff --git a/README.md b/README.md index 7a85ec4..ab6383e 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,12 @@ You can set up the toolchain by either: - Using [`ghcup`](https://www.haskell.org/ghcup/guide/#cross-support) to set up ghc 9.10 +Also install [Sass](https://sass-lang.com/install/). + Then: ```sh source ~/.ghc-wasm/env -npm install -g sass cd frontend ./build.sh ```