2024-01-23 13:37:02 -05:00
|
|
|
name: Builds Application
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-01-23 14:03:26 -05:00
|
|
|
name: Builds Application
|
2024-01-23 13:37:02 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: cachix/install-nix-action@v19
|
|
|
|
with:
|
|
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build Backend
|
2024-01-23 13:43:38 -05:00
|
|
|
run: nix develop --command make
|
2024-01-23 13:37:02 -05:00
|
|
|
- name: Install NPM Packages
|
2024-01-23 13:43:38 -05:00
|
|
|
run: nix develop --command npm install
|
2024-01-23 13:37:02 -05:00
|
|
|
- name: Build Frontend
|
2024-01-23 13:43:38 -05:00
|
|
|
run: nix develop --command npm run tauri build
|