docs: updated docs #173
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: Run Eslint & Test cases | |
on: | |
pull_request: | |
branches: ['main', 'develop'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
run: npm install -g pnpm@7.33.5 | |
- name: Install uglifyjs | |
run: npm install uglify-js -g | |
- name: Install Project Dependencies | |
run: pnpm install | |
- name: Run Eslint | |
run: pnpm lint | |
- name: Build REST API | |
run: pnpm generate | |
- name: Format code | |
run: pnpm format | |
- name: Test project | |
run: pnpm test | |
- name: Build | |
run: pnpm build | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |