Skip to content

Commit 946a8f6

Browse files
committed
e2e only on 24
1 parent 4c14d93 commit 946a8f6

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,18 @@ jobs:
7373
path: coverage/
7474

7575
e2e:
76-
name: E2E tests (Node ${{ matrix.node }})
76+
name: E2E tests
7777
# Run on push/schedule/dispatch, or on PRs only if from same repo (not forks)
7878
# This protects secrets from being exposed to fork PRs
7979
if: >
8080
github.event_name != 'pull_request' ||
8181
github.event.pull_request.head.repo.full_name == github.repository
8282
runs-on: ubuntu-latest
83-
strategy:
84-
# e2e tests are not yet ready to run in parallel
85-
max-parallel: 1
86-
matrix:
87-
node:
88-
- 20
89-
- 22
90-
- 24
9183
steps:
9284
- uses: actions/checkout@v4
9385
- uses: actions/setup-node@v4
9486
with:
95-
node-version: ${{ matrix.node }}
87+
node-version: 24
9688
- run: corepack yarn
9789
- name: Download cloudflared
9890
run: |
@@ -111,27 +103,23 @@ jobs:
111103
CLOUDFLARED_PATH: ./cloudflared-linux-amd64
112104
DEBUG: 'transloadit:*'
113105

114-
- if: matrix.node == 24
115-
name: Generate the badge from the json-summary
106+
- name: Generate the badge from the json-summary
116107
run: node --experimental-strip-types test/generate-coverage-badge.ts coverage/coverage-summary.json
117-
- if: matrix.node == 24
118-
name: Move HTML report and badge to the correct location
108+
- name: Move HTML report and badge to the correct location
119109
run: |
120110
mv coverage/lcov-report static-build
121111
mv coverage-badge.svg static-build/
122112
# *** BEGIN PUBLISH STATIC SITE STEPS ***
123113
# Use the standard checkout action to check out the destination repo to a separate directory
124114
# See https://github.com/mifi/github-action-push-static
125-
- if: matrix.node == 24
126-
uses: actions/checkout@v4
115+
- uses: actions/checkout@v4
127116
with:
128117
ssh-key: ${{ secrets.COVERAGE_REPO_SSH_PRIVATE_KEY }}
129118
repository: transloadit/node-sdk-coverage
130119
path: static-files-destination
131120

132121
# Push coverage data
133-
- if: matrix.node == 24
134-
run: |
122+
- run: |
135123
git config --global user.name github-actions
136124
git config --global user.email github-actions@github.com
137125
# Remove existing files:

0 commit comments

Comments
 (0)