Commit efc7cd01 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[gitlab ci] add deps stage

parent 4212995b
...@@ -13,15 +13,26 @@ variables: ...@@ -13,15 +13,26 @@ variables:
#- apt-get install make xz-utils #- apt-get install make xz-utils
stages: stages:
- deps
- test - test
deps:
cache:
paths:
- node_modules/
script:
- nix-env -i purescript-0.14.4 -f https://github.com/NixOS/nixpkgs/archive/bed08131cd29a85f19716d9351940bdc34834492.tar.gz
- nix-env -i git
- nix-env -i nodejs
- nix-env -i yarn
- yarn --skip-builds
test: test:
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
# paths: paths:
# - .stack-root/ - node_modules/
# - .stack-work/
script: script:
# find 0.14.2 purescript version here: # find 0.14.2 purescript version here:
# https://lazamar.co.uk/nix-versions/ # https://lazamar.co.uk/nix-versions/
......
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