File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test packages
2+ on :
3+ # Trigger the workflow on push or pull request,
4+ # but only for the main branch
5+ push :
6+ branches : [ main, develop ]
7+ pull_request :
8+ branches : [ main ]
9+
10+ jobs :
11+ test-app-template :
12+ runs-on : ubuntu-latest
13+ steps :
14+
15+ - name : Install nix
16+ uses : cachix/install-nix-action@v30
17+ with :
18+ install_url : https://releases.nixos.org/nix/nix-2.24.4/install
19+ nix_path : nixpkgs=channel:nixos-24.11
20+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - uses : cachix/cachix-action@v15
23+ with :
24+ name : holochain-ci
25+
26+ - uses : cachix/cachix-action@v15
27+ with :
28+ name : darksoil-studio
29+
30+ - uses : actions/checkout@v3
31+
32+ - name : Test app template
33+ run : |
34+ nix develop --command bash -c "pnpm build -r --if-present && pnpm test -r --if-present"
35+
You can’t perform that action at this time.
0 commit comments