Skip to content

Commit 898aa21

Browse files
committed
Install Sass differently
Otherwise, we run into parcel-bundler/watcher#152
1 parent ed58bf4 commit 898aa21

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/build.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ jobs:
4545
ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/develop/ghcup-cross-0.0.8.yaml
4646
ghcup install ghc --set wasm32-wasi-9.10.1 -- $CONFIGURE_ARGS
4747
48-
- name: install-sass
49-
run: |
50-
npm install -g sass
48+
- uses: dw-labs-org/dart-sass-gha@v1
5149

5250
- name: build-frontend
5351
run: |
@@ -80,9 +78,7 @@ jobs:
8078
env:
8179
FLAVOUR: '9.10'
8280

83-
- name: install-sass
84-
run: |
85-
npm install -g sass
81+
- uses: dw-labs-org/dart-sass-gha@v1
8682

8783
- name: build-frontend
8884
run: |

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ You can set up the toolchain by either:
4646
- Using [`ghcup`](https://www.haskell.org/ghcup/guide/#cross-support)
4747
to set up ghc 9.10
4848

49+
Also install [Sass](https://sass-lang.com/install/).
50+
4951
Then:
5052

5153
```sh
5254
source ~/.ghc-wasm/env
53-
npm install -g sass
5455
cd frontend
5556
./build.sh
5657
```

0 commit comments

Comments
 (0)