Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/codecov #72

Merged
merged 2 commits into from
Apr 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: codecov 도입
  • Loading branch information
ssi02014 committed Apr 28, 2024
commit 74aa58db01e3cf6279cb4df49729c411fb866a3c
26 changes: 26 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --immutable --immutable-cache --check-cache
- run: yarn test
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/document.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: install 🔨
run: yarn install --frozen-lockfile
run: yarn install --immutable --immutable-cache --check-cache
- name: packages build 🔨
run: lerna run build
- name: document build 🔨
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: install 🔨
run: yarn install --frozen-lockfile
run: yarn install --immutable --immutable-cache --check-cache
- name: build 🔨
run: lerna run build
- name: eslint 🚀
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: install 🔨
run: yarn install --frozen-lockfile
run: yarn install --immutable --immutable-cache --check-cache
- name: build 🔨
run: lerna run build
- name: eslint 🚀
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 28 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
coverage:
status:
patch: off
project:
default:
target: 100%
threshold: 30%

comment:
layout: 'header, reach, diff, flags, components'

ignore:
- '**/*.test-d.*'

component_management:
individual_components:
- component_id: react
name: '@modern-kit/react'
paths:
- packages/react/**
- component_id: utils
name: '@modern-kit/utils'
paths:
- packages/utils/**
- component_id: types
name: '@modern-kit/types'
paths:
- packages/types/**
Loading