Skip to content

Commit

Permalink
Run tests for push and pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoBruni committed Feb 10, 2024
1 parent fd5fa75 commit 7429898
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: ci
#on: [push, pull_request, workflow_dispatch] # disabled for debug
on: [workflow_dispatch] # disabled for debug
on: [push, pull_request, workflow_dispatch] # disabled for debug
#on: [workflow_dispatch] # disabled for debug
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
node-version: [18]
mongodb-version: [4.4, 5.0, 6.0]
steps:
- name: Git checkout
Expand All @@ -28,8 +28,4 @@ jobs:
- name: Run tests
run: npm run test
env:
DATABASE_URI: mongodb://localhost:27017/test
#- name: coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
DATABASE_URI: mongodb://localhost:27017/test

0 comments on commit 7429898

Please sign in to comment.