add lint action
This commit is contained in:
parent
518d48a6cc
commit
bbc830a399
|
@ -0,0 +1,17 @@
|
|||
name: Test
|
||||
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: cachix/install-nix-action@v15
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: |
|
||||
nix-shell --run 'npm install'
|
||||
nix-shell --run 'make lint'
|
Loading…
Reference in New Issue