Skip to content

docs: update documentation #10

docs: update documentation

docs: update documentation #10

Workflow file for this run

name: Poet App Test
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ./
strategy:
matrix:
node-version: [20.x]
mongodb-version: ['7.0']
env:
PORT: ${{ secrets.PORT }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Start MongoDB
# See for more info at https://github.com/supercharge/mongodb-github-action/tree/1.11.0/
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install Node Dependencies
run: npm install
- name: Run Test
run: npm test