Break out the run all steps into individuals

This commit is contained in:
Graham Christensen 2024-04-12 10:08:25 -04:00
parent 604b4f9ad2
commit 92a103f45f

View file

@ -18,8 +18,16 @@ jobs:
run: | run: |
nix develop --command shellcheck ./.github/workflows/cache-test.sh nix develop --command shellcheck ./.github/workflows/cache-test.sh
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
- run: nix develop --command pnpm install - name: Install pnpm dependencies
- run: nix develop --command pnpm run all run: nix develop --command pnpm install
- name: Check formatting
run: nix develop --command pnpm run format
- name: Lint
run: nix develop --command pnpm run lint
- name: Build
run: nix develop --command pnpm run build
- name: Package
run: nix develop --command pnpm run package
- run: git status --porcelain=v1 - run: git status --porcelain=v1
- run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0