Skip to content

Commit 849589c

Browse files
committed
only run coverage on node 22
1 parent b656033 commit 849589c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/integration.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,19 @@ jobs:
4141
CLOUDFLARED_PATH: ./cloudflared-linux-amd64
4242
DEBUG: 'transloadit:*'
4343

44-
- name: Generate the badge from the json-summary
44+
- if: matrix.node == '22.14.0'
45+
name: Generate the badge from the json-summary
4546
run: node --experimental-strip-types test/generate-coverage-badge.ts coverage/coverage-summary.json
46-
- name: Move HTML report and badge to the correct location
47+
- if: matrix.node == '22.14.0'
48+
name: Move HTML report and badge to the correct location
4749
run: |
4850
mv coverage/lcov-report static-build
4951
mv coverage-badge.svg static-build/
5052
# *** BEGIN PUBLISH STATIC SITE STEPS ***
5153
# Use the standard checkout action to check out the destination repo to a separate directory
5254
# See https://github.com/mifi/github-action-push-static
53-
- uses: actions/checkout@v4
55+
- if: matrix.node == '22.14.0'
56+
uses: actions/checkout@v4
5457
with:
5558
ssh-key: ${{ secrets.COVERAGE_REPO_SSH_PRIVATE_KEY }}
5659
repository: transloadit/node-sdk-coverage

0 commit comments

Comments
 (0)