feat(frontend):use history data from server #138
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: CI | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
frontend-build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- name: Jest coverage report | |
uses: ArtiomTr/[email protected] | |
with: | |
working-directory: ./client/memo-minder-web | |
github-token: ${{ secrets.TOKEN_FOR_MEMO }} | |
annotations: none | |
test-script: npm test | |
custom-title: Coverage report for frontend | |
backend-build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- name: Jest coverage report | |
uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
working-directory: ./memo-backend | |
github-token: ${{ secrets.TOKEN_FOR_MEMO }} | |
annotations: none | |
test-script: npm test --detectOpenHandles | |
custom-title: Coverage report for backend |