feat(deps): add dep build workflow
All checks were successful
/ deploy-and-package (push) Successful in 1m19s
All checks were successful
/ deploy-and-package (push) Successful in 1m19s
This commit is contained in:
parent
67824c6bc8
commit
7194ba72fd
5 changed files with 110 additions and 89 deletions
23
.forgejo/workflows/dependency-builds.yml
Normal file
23
.forgejo/workflows/dependency-builds.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Dependency builds
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
FORGEJO_TOKEN: ""
|
||||
GITHUB_TOKEN: ""
|
||||
|
||||
jobs:
|
||||
check:
|
||||
if: ${{ github.actor == 'rasensprenger' }}
|
||||
name: Build & Lint
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- run: nix profile add nixpkgs#nodejs_24
|
||||
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- run: nix develop .#electron --command pnpm install --frozen-lockfile
|
||||
- run: nix develop .#electron --command pnpm run lint
|
||||
- run: nix develop .#electron --command pnpm run build
|
||||
Loading…
Reference in a new issue