-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathflake.nix
More file actions
26 lines (24 loc) · 817 Bytes
/
flake.nix
File metadata and controls
26 lines (24 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
description = "Forms Designer flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages.test-gh-pages-workflow = pkgs.writeShellScriptBin "test-gh-pages-workflow" ''
echo "Testing GitHub Pages workflow with act..."
${pkgs.act}/bin/act -W .github/workflows/pages.yml --job build -P ubuntu-24.04=catthehacker/ubuntu:act-latest --env GITHUB_TOKEN=fake_token
'';
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_latest
bun
];
};
}
);
}