5757 node :
5858 - 20
5959 - 22
60+ - 24
6061 steps :
6162 - uses : actions/checkout@v4
6263 - uses : actions/setup-node@v4
6566 - run : corepack yarn
6667 - run : corepack yarn test:unit
6768 - name : Upload coverage reports artifact
68- if : matrix.node == 22
69+ if : matrix.node == 24
6970 uses : actions/upload-artifact@v4
7071 with :
7172 name : coverage-reports
8687 node :
8788 - 20
8889 - 22
90+ - 24
8991 steps :
9092 - uses : actions/checkout@v4
9193 - uses : actions/setup-node@v4
@@ -109,26 +111,26 @@ jobs:
109111 CLOUDFLARED_PATH : ./cloudflared-linux-amd64
110112 DEBUG : ' transloadit:*'
111113
112- - if : matrix.node == 22
114+ - if : matrix.node == 24
113115 name : Generate the badge from the json-summary
114116 run : node --experimental-strip-types test/generate-coverage-badge.ts coverage/coverage-summary.json
115- - if : matrix.node == 22
117+ - if : matrix.node == 24
116118 name : Move HTML report and badge to the correct location
117119 run : |
118120 mv coverage/lcov-report static-build
119121 mv coverage-badge.svg static-build/
120122 # *** BEGIN PUBLISH STATIC SITE STEPS ***
121123 # Use the standard checkout action to check out the destination repo to a separate directory
122124 # See https://github.com/mifi/github-action-push-static
123- - if : matrix.node == 22
125+ - if : matrix.node == 24
124126 uses : actions/checkout@v4
125127 with :
126128 ssh-key : ${{ secrets.COVERAGE_REPO_SSH_PRIVATE_KEY }}
127129 repository : transloadit/node-sdk-coverage
128130 path : static-files-destination
129131
130132 # Push coverage data
131- - if : matrix.node == 22
133+ - if : matrix.node == 24
132134 run : |
133135 git config --global user.name github-actions
134136 git config --global user.email github-actions@github.com
0 commit comments