[ADD] - Increased decoupling of API calls #110
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: Frontend | |
on: | |
push: | |
branches: ['**'] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v3 | |
- name: set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Dependencies | |
uses: actions/checkout@v3 | |
- working-directory: ./frontend | |
run: | | |
npm install | |
- name: Lint codebase | |
uses: actions/checkout@v3 | |
- working-directory: ./frontend | |
run: | | |
npm install | |
make lint | |
- name: Test codebase | |
uses: actions/checkout@v3 | |
- working-directory: ./frontend | |
run: | | |
npm install | |
make test |