Skip to content

Commit 6fca503

Browse files
committed
feat(ci): test,build app using nix
1 parent 1f99e7d commit 6fca503

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/nix.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Nix build
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- uses: actions/checkout@v4
19+
- uses: DeterminateSystems/determinate-nix-action@v3
20+
21+
- name: Build with Nix DevShell
22+
run: |
23+
nix develop --command bash -c '
24+
bun install
25+
bun run build
26+
'

0 commit comments

Comments
 (0)