Merge pull request #1 from pioardi/dependabot/npm_and_yarn/expect-25.1.0
[poolifier.git] / .github / workflows / main.yml
index d99684f60f2d93ca90e187c59dbb6cd5f3ac3558..bbe2d690451c1531a7ff7989bd81075f8e8df343 100644 (file)
@@ -1,6 +1,6 @@
 name: NodeCI
 
-on: [push]
+on: [push, pull_request]
 
 jobs:
   build:
@@ -22,5 +22,7 @@ jobs:
         npm ci
         npm run build --if-present
         npm run test
+        export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}
+        npm run coverage
       env:
         CI: true