[CI] some more fixes

parent 57f7aaa6
Pipeline #5975 passed with stages
in 13 minutes and 3 seconds
......@@ -25,7 +25,7 @@ deps:
- node_modules/
- .spago/
script:
- nix-env -i git
#- nix-env -i git
- nix-shell shell.nix --run 'bun install --skip-builds'
test:
......@@ -40,6 +40,7 @@ test:
script:
# find 0.14.5 purescript version here:
# https://lazamar.co.uk/nix-versions/
- nix-env -i git
#- nix-env -i git
- nix-shell shell.nix --run fix-bun
- nix-shell shell.nix --run 'bun install --skip-builds'
- nix-shell shell.nix --run test-ps
......@@ -2,6 +2,15 @@
let
easy-ps = import ./nix/easy-ps.nix { inherit pkgs; };
# sometimes bun is broken because of better-sqlite3
fix-bun = pkgs.writeShellScriptBin "fix-bun" ''
#!/usr/bin/env bash
set -e
cd ./node_modules/better-sqlite3
bun install
'';
compile = pkgs.writeShellScriptBin "compile" ''
#!/usr/bin/env bash
set -e
......@@ -115,6 +124,7 @@ pkgs.mkShell {
build-zephyr
build
compile
fix-bun
minify-bundle
repl
serve
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment