Skip to content

add github workflow config #1

add github workflow config

add github workflow config #1

Workflow file for this run

name: Complete Workflow
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install dependencies
run: npm ci
- name: Run all tests
run: npm run test