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'