Skip to content

add workflow 커버리지 테스트 자동화 #5

add workflow 커버리지 테스트 자동화

add workflow 커버리지 테스트 자동화 #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
test-and-measure-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Run tests and measure coverage
run: |
npm test
npm run coverage
- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: coverage