railbird-gql/.gitea/workflows/tests.yaml

22 lines
556 B
YAML
Raw Normal View History

2024-01-05 22:52:32 -07:00
name: Tests
2024-01-05 22:47:04 -07:00
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
2024-01-05 22:52:32 -07:00
- name: alejandra
run: nix develop --impure --command bash -c 'alejandra check flake.nix'
- name: install
2024-01-06 02:07:26 -07:00
run: nix develop --impure --command bash -c 'YARN_CACHE_FOLDER=. yarn config set link-folder . && yarn install'
2024-01-05 22:47:04 -07:00
- name: lint
run: nix develop --impure --command bash -c 'yarn run lint'