add an node install step in build-images action
Some checks failed
build demo images / Build NixOS images (push) Failing after 12s

This commit is contained in:
Douze Bé 2024-09-30 17:44:42 +02:00
parent 51c1716f19
commit 38e7aaf8ae

View file

@ -8,13 +8,9 @@ jobs:
name: Build NixOS images name: Build NixOS images
runs-on: nixos runs-on: nixos
steps: steps:
#- name: install sudo - name: install node
# run: apt-get update && apt-get -y install sudo run: nix-env -iA nixos.nodejs_20
- name: checkout repository - name: checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
#- name: install nix
# uses: https://git.distrilab.fr/nix-clic/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-24.05
- name: run generator - name: run generator
run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc" run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc"