From 80779d150cf7ac46fdc6e31b899b83871c050f33 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 2 Dec 2022 21:00:51 -0500 Subject: [PATCH] add JS build using Nix in CI --- javascript/.gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/javascript/.gitlab-ci.yml b/javascript/.gitlab-ci.yml index 4bfcbed..c4ad7e0 100644 --- a/javascript/.gitlab-ci.yml +++ b/javascript/.gitlab-ci.yml @@ -19,6 +19,18 @@ build:js: - javascript/index.d.ts - javascript/exported_functions.json +build:js-nix: + cache: + paths: + - /nix/store + image: docker.io/nixos/nix + stage: build + script: + - nix --extra-experimental-features nix-command --extra-experimental-features flakes build + artifacts: + paths: + - result/javascript + test:js: stage: test needs: