Skip to content

Commit

Permalink
Include package.json into nix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Sep 30, 2022
1 parent 3003da2 commit 4404073
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,14 @@ nix:
script:
- node2nix --lock package-lock.json --nodejs-16 --composition node.nix --development
- ./nix-update.sh
- nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
- nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }/$f"'
- tar czf nix.tgz package.json *.nix

artifacts:
expose_as: nix
name: nix
paths:
- "*.nix"
- nix.tgz
expire_in: never

# We want to run it as soon as possible and do not wait for test stage to finish.
Expand Down

0 comments on commit 4404073

Please sign in to comment.