22 lines
357 B
YAML
22 lines
357 B
YAML
|
---
|
||
|
name: flake
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
|
||
|
env:
|
||
|
NIX_CONFIG: 'experimental-features = nix-command flakes'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: nixos-unstable
|
||
|
steps:
|
||
|
- name: prepare nix container
|
||
|
run: nix-env -iA nixpkgs.nodejs
|
||
|
|
||
|
- name: checkout repository
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- name: run flake check
|
||
|
run: nix flake check -L
|