Skip to content

Merge pull request #71 from unb-mds/develop #56

Merge pull request #71 from unb-mds/develop

Merge pull request #71 from unb-mds/develop #56

Workflow file for this run

name: Node.js API Quality
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
jobs:
Quality-API:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20.
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run test
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run build
run: npm run build