Bump standard from 14.3.4 to 15.0.0
[poolifier.git] / .github / workflows / main.yml
index ae452ab30f4204016d9aed17df5ec40a1d04009a..7469978eecdeb7dd9c6f67de37d62b8c23666e64 100644 (file)
@@ -1,6 +1,6 @@
-name: Node CI
+name: NodeCI
 
-on: [push]
+on: [push, pull_request]
 
 jobs:
   build:
@@ -9,7 +9,7 @@ jobs:
 
     strategy:
       matrix:
-        node-version: [10.x, 12.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