website/.github/workflows/check.yml
marshmallow 5ec494391c
add prettier alongisde .editorconfig (#19)
* chore: add prettier

* feat: add checks

* chore: update flake lock
2024-05-07 11:03:29 +10:00

39 lines
623 B
YAML

name: Check
on:
pull_request:
push:
branches:
- main
jobs:
prettier:
name: Check Code Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install NPM dependencies
run: npm ci
- name: Check Prettier
run: npm run prettier:check:ci
nix:
name: Nix Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- name: Check Nix Build
run: nix build
- name: Check Nix Flake
run: nix flake check