Skip to content

b r a n c h PR.

b r a n c h PR. #13

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main", "dev"]
jobs:
build:
name: Backend test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./quirknotes/backend
strategy:
matrix:
node-version: [20.x]
mongodb-version: ['latest']
steps:
- name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v
uses: actions/checkout@v3
with:
node-version: ${{ matrix.node-version }}
- name: MongoDB in GitHub Actions
uses: supercharge/[email protected]
with:
mongodb-version: ${{matrix.mongodb-version}}
- run: npm i
- run: npm run dev & npm test