Skip to content

Merge branch 'master' of https://github.com/agiledev-students-fall202… #31

Merge branch 'master' of https://github.com/agiledev-students-fall202…

Merge branch 'master' of https://github.com/agiledev-students-fall202… #31

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ anasofia2 ]
pull_request:
branches: [ anasofia2 ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
env:
EXPRESS_APP_MAP_API_KEY: ${{ secrets.EXPRESS_APP_MAP_API_KEY }}
FRONT_END_DOMAIN: ${{ secrets.FRONT_END_DOMAIN }}
GOOGLE_SHEETS_APIKEY: ${{ secrets.GOOGLE_SHEETS_APIKEY }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
REACT_APP_BACKEND: ${{ secrets.REACT_APP_BACKEND }}
REACT_APP_MAP_API_KEY: ${{ secrets.REACT_APP_MAP_API_KEY }}
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm run install-dependencies
- name: Run Tests
run: |
cd back-end
npm test