diff --git a/.github/workflows/kyanite.yml b/.github/workflows/kyanite.yml index ff42b14f..20819a98 100644 --- a/.github/workflows/kyanite.yml +++ b/.github/workflows/kyanite.yml @@ -15,14 +15,14 @@ jobs: node-version: [18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Check node_module Cache id: node-module-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | node_modules @@ -38,7 +38,7 @@ jobs: - name: Check Coverage run: npm run coverage - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ./coverage.lcov name: kyanite-tests @@ -50,14 +50,14 @@ jobs: node-version: [18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Check node_module Cache id: node-module-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | node_modules diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..fc99dcc5 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,18 @@ +codecov: + token: 983a4b7b-9b87-4a9b-8a00-9483e1868426 + notify: + require_ci_to_pass: yes + after_n_builds: 1 + +coverage: + status: + project: + default: + target: 80% + patch: + default: + target: 80% + +comment: + layout: "reach, diff, flags, files" + behavior: default