From 39c75db233e50a48d5d1b9879b27c6fbe7272e46 Mon Sep 17 00:00:00 2001 From: Francisco Veracoechea Date: Fri, 26 Apr 2024 14:36:04 -0400 Subject: [PATCH] Update coverate report GHA --- .github/workflows/coverage.yml | 15 ++++++++++++++- lib/package.json | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5cd5f8e..3ca7bed 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -7,7 +7,20 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Use Node 20 + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: 'yarn' + + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install + - uses: ArtiomTr/jest-coverage-report-action@v2 with: package-manager: yarn diff --git a/lib/package.json b/lib/package.json index 99141bf..519ae18 100644 --- a/lib/package.json +++ b/lib/package.json @@ -26,7 +26,7 @@ "node": ">=18" }, "scripts": { - "dev": "rollup -c --watch", + "dev": "tsup --watch", "type-check": "tsc --project tsconfig.json", "build": "tsup", "test": "jest --ci --maxWorkers=2", @@ -35,7 +35,7 @@ "http-codegen": "ts-node scripts/generateHttpCodes", "type": "tsc" }, - "packageManager": "yarn@3.5.0", + "packageManager": "yarn@4.1.1", "devDependencies": { "@jest/globals": "^29.7.0", "@rollup/plugin-commonjs": "^25.0.7",