Bump expect from 26.6.0 to 26.6.1
[poolifier.git] / .github / workflows / main.yml
index d99684f60f2d93ca90e187c59dbb6cd5f3ac3558..7469978eecdeb7dd9c6f67de37d62b8c23666e64 100644 (file)
@@ -1,6 +1,6 @@
 name: NodeCI
 
-on: [push]
+on: [push, pull_request]
 
 jobs:
   build:
@@ -9,7 +9,7 @@ jobs:
 
     strategy:
       matrix:
-        node-version: [12.x, 13.x]
+        node-version: [12.x, 14.x]
 
     steps:
     - uses: actions/checkout@v1
@@ -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