Commit efc7cd01 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[gitlab ci] add deps stage

parent 4212995b
......@@ -13,15 +13,26 @@ variables:
#- apt-get install make xz-utils
stages:
- deps
- 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:
cache:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
# paths:
# - .stack-root/
# - .stack-work/
paths:
- node_modules/
script:
# find 0.14.2 purescript version here:
# 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