Fix NixOs build #596
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: nixbuild/nix-quick-install-action@v30 | |
- uses: nix-community/cache-nix-action@v6 | |
with: | |
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} | |
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }} | |
- run: | | |
nix develop --command npm install | |
nix develop --command make lint | |
nix develop --command make test |