Skip to content

Commit

Permalink
Install Sass differently
Browse files Browse the repository at this point in the history
Otherwise, we run into parcel-bundler/watcher#152
  • Loading branch information
amesgen committed Oct 20, 2024
1 parent ed58bf4 commit 898aa21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 898aa21

Please sign in to comment.