From c975654e71a573ed409a187457870b50dc02f289 Mon Sep 17 00:00:00 2001 From: haril song Date: Fri, 28 Jun 2024 13:14:25 +0900 Subject: [PATCH] . --- .circleci/config.yml | 23 ----------------------- .github/workflows/ci.yml | 12 ++++++++++-- 2 files changed, 10 insertions(+), 25 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index fa080a59..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2.1 -orbs: - codecov: codecov/codecov@3.2.4 - -jobs: - build: - docker: - - image: cimg/node:lts - steps: - - checkout - - run: - name: Install dependencies - command: npm install - - run: - name: Run tests and collect coverage - command: npm run test - - codecov/upload - -workflow: - version: 2.1 - build-test: - jobs: - - build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a15d99ad..4529aaa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,5 +22,13 @@ jobs: run: npm install - name: Run tests and collect coverage run: npm run test - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + + - uses: actions/checkout@main + - uses: codecov/codecov-action@v4 + with: +# fail_ci_if_error: true # optional (default = false) +# files: ./coverage1.xml,./coverage2.xml # optional +# flags: unittests # optional +# name: codecov-umbrella # optional + token: ${{ secrets.CODECOV_TOKEN }} # required + verbose: true # optional (default = false)