Don't install globally via npm
[lsp-test.git] / .github / workflows / haskell.yml
index 53827ca27f8f334701613b953ff2c10aa8c95053..67c96663d006a9f998fb3722bf8b8cdeb01c6804 100644 (file)
@@ -1,6 +1,6 @@
 name: Haskell CI
 
-on: [push]
+on: [push, pull_request]
 jobs:
   build:
    
@@ -50,7 +50,7 @@ jobs:
         hoogle generate
         popd
     - name: Install JS Language Server
-      run: npm install -g javascript-typescript-langserver
+      run: npm install javascript-typescript-langserver
     - name: Build
       run: cabal build
     - name: Test