railbird-gql/.gitea/workflows/tests.yaml
2024-01-06 02:13:39 -07:00

22 lines
554 B
YAML

name: Tests
on:
pull_request:
env:
NIXPKGS_ALLOW_UNFREE: 1
jobs:
install:
name: Install
runs-on: nixos-x86_64-linux
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: alejandra
run: nix develop --impure --command bash -c 'alejandra check flake.nix'
- name: install
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn config set link-folder . && yarn install'
- name: lint
run: nix develop --impure --command bash -c 'yarn run lint'