Edit delete post functionality added #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@1.8.0 | |
with: | |
mongodb-version: 6.0 | |
- name: Install dependencies | |
run: npm install | |
- name: Start server | |
run: npm run start:test & | |
- name: Run unit tests | |
run: npm run test:unit | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 |