add JS build using Nix in CI

js-nix
Hubert Chathi 2022-12-02 21:00:51 -05:00
parent ad76fc1570
commit 80779d150c
1 changed files with 12 additions and 0 deletions

View File

@ -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: