workflow: rules: - if: '$CI_PIPELINE_SOURCE == "push"' when: always - when: never default: image: name: nixos/nix:2.3.12 stages: - setup node dependencies: stage: setup script: - nix build -o node-dependencies uniworxNodeDependencies before_script: - nix-env -iA envsubst - envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf artifacts: paths: - node-dependencies name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" expire_in: "1 day" retry: 2 interruptible: true