Skip to content

Commit

Permalink
added test database for action
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzadtomal committed Jan 4, 2024
1 parent 6efd132 commit 8179663
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,21 @@ jobs:
build:
env:
CI: true
MONGO_URL: mongodb://localhost/nasa
strategy:
matrix:
node-version: [14.x,16.x]
mongodb-version: ['4.4']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use Node.js version16 ${{matrix.node-version}}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version}}
node-version: ${{ matrix.node-version}}
- name: use mongoDb from github actions
uses: supercharge/mongodb-github-action@1.6.0
with: ${{matrix.mongodb-version}}
- run: npm install
- run: npm run build --prefix client
- run: npm test

0 comments on commit 8179663

Please sign in to comment.