Add JS-specific bits to Actions

This commit is contained in:
Luc Perkins 2024-04-26 14:19:53 -03:00
parent 539b7a6481
commit 239b4c9810
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
8 changed files with 1036 additions and 82 deletions

View file

@ -17,3 +17,19 @@ jobs:
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Shellcheck
run: nix develop --command shellcheck $(find . -type f -name "*.sh" -executable)
- name: Install pnpm dependencies
run: nix develop --command pnpm install
- name: Check formatting
run: nix develop --command pnpm run check-fmt
- name: Lint
run: nix develop --command pnpm run lint
- name: Build
run: nix develop --command pnpm run build
- name: Run test suite
run: nix develop --command pnpm run test
- name: Package
run: nix develop --command pnpm run package
- name: Check git status
run: git status --porcelain=v1
- name: Ensure no staged changes
run: git diff --exit-code