Skip to content

Commit

Permalink
gha debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
conorsch committed Jul 23, 2024
1 parent 0b9609c commit 3011ef1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# First pass at a nix-based GHA setup for penumbra-guide.
name: Validate nix env for GHA

on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main

jobs:
check_nix:
name: build
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main
with:
fail-mode: true

# Nix-specific logic begins here
- name: install pnpm deps
run: |
nix develop --command \
pnpm install
- name: build static docroot
run: |
nix develop --command \
pnpm build
- name: view built docroot
run: |
find ./out

0 comments on commit 3011ef1

Please sign in to comment.