test: update testcase #149
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@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
- name: Build and test frontend | |
run: | | |
cd client/memo-minder-web | |
npm install | |
npm run build | |
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 |