diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 2d870bc..70e6c39 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -7,12 +7,16 @@ on: env: CARGO_TERM_COLOR: always + NIX_CONFIG: experimental-features = nix-command flakes jobs: checks: name: checks runs-on: nixos steps: + - name: Install node + run: nix profile add nixpkgs#nodejs_24 + - name: Checkout uses: https://data.forgejo.org/actions/checkout@v7 diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 5996da0..05bc6e2 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -14,10 +14,16 @@ on: required: true type: string +env: + NIX_CONFIG: experimental-features = nix-command flakes + jobs: release: runs-on: nixos steps: + - name: Install node & bun + run: nix profile add nixpkgs#nodejs_24 nixpkgs#bun + - name: Check out repo uses: https://data.forgejo.org/actions/checkout@v7 with: @@ -26,6 +32,9 @@ jobs: - name: Install dependencies run: bun install + - name: Install cc linker, sed & jq + run: nix profile add nixpkgs#stdenv.cc nixpkgs#gnused nixpkgs#jq + - name: Build all run: bun build:all