From 08e58903de366683f873f9fd2335e5434157a3a2 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 15 Jun 2024 16:19:55 -0400 Subject: [PATCH] Note node>=18 expectation and try to fix codecov upload. --- .github/workflows/main.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2046d88..2e1ac57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,7 +67,8 @@ jobs: - name: Generate coverage report run: npm run coverage-ci - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: file: ./coverage/lcov.info fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/package.json b/package.json index 3103a7c..23ba7e3 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "webpack": "^5.75.0" }, "engines": { - "node": ">=14" + "node": ">=18" }, "scripts": { "test": "npm run test-node",