From e8ccf094294e8fd091850abbce6e9bc89762995a Mon Sep 17 00:00:00 2001 From: Gabriel Fournier Date: Thu, 3 Oct 2024 17:58:09 +0200 Subject: [PATCH] update CI to relative changes --- .github/workflows/main.yml | 2 +- Jenkinsfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 083ee98..89c7b9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Init - run: npm ci + run: npm ci && npm run patch-coverage-gas-cost - name: Run coverage run: npm run coverage - name: Upload coverage reports to Codecov diff --git a/Jenkinsfile b/Jenkinsfile index 5f29e41..f8f6a06 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,7 @@ node { docker.image('node:20-alpine').inside { stage('Init') { sh 'npm ci' + sh 'npm run patch-coverage-gas-cost' } stage('Test') { sh 'npm run test-ci'