[CI] paths, build stage

parent 2566af13
......@@ -15,6 +15,7 @@ variables:
stages:
- deps
- build
- test
deps:
......@@ -22,12 +23,25 @@ deps:
cache:
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
#- nix-env -i git
- nix-shell shell.nix --run 'bun install --skip-builds'
build:
stage: build
cache:
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
- nix-shell shell.nix --run fix-bun
- nix-shell shell.nix --run build
test:
stage: test
cache:
......@@ -35,12 +49,10 @@ test:
# key: ${CI_COMMIT_REF_SLUG}
paths:
- /nix/store
- ${HOME}/.bun/install/cache
- node_modules/
- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script:
# find 0.14.5 purescript version here:
# https://lazamar.co.uk/nix-versions/
#- 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
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