Skip to content

Commit

Permalink
chore: codecov 도입 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 authored Apr 28, 2024
1 parent f412b72 commit 015d95a
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 3 deletions.
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
Expand Up @@ -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 🔨
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🚀
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🚀
Expand Down
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 added .yarn/cache/fsevents-patch-19706e7e35-10c0.zip
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-6b67494872-10c0.zip
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/**

0 comments on commit 015d95a

Please sign in to comment.