Skip to content

Commit 985ab53

Browse files
committed
chore(ci): consolidate workflow files
Merge e2e-tests.yml into ci.yml as a separate job that runs after CI passes. Delete test-sea-fallback.yml (manual-only edge case testing with minimal value). Changes: - E2E tests now run as part of main CI pipeline - Reduced workflow count from 9 to 7 files - Simplified maintenance by consolidating duplicate triggers
1 parent 9f1d63c commit 985ab53

File tree

3 files changed

+25
-250
lines changed

3 files changed

+25
-250
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,28 @@ jobs:
4747
node-versions: ${{ inputs.node-versions || '[20, 22, 24]' }}
4848
os-versions: '["ubuntu-latest", "macos-latest", "windows-latest"]'
4949
fail-fast: false
50+
51+
e2e:
52+
name: E2E Tests
53+
needs: ci
54+
runs-on: ${{ matrix.os }}
55+
timeout-minutes: 20
56+
strategy:
57+
fail-fast: true
58+
matrix:
59+
node-version: ${{ fromJSON(inputs.node-versions || '[20, 22, 24]') }}
60+
os: [ubuntu-latest]
61+
steps:
62+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@51be85d39d3b4a42dd9d4712948b9d30a2e04794
63+
with:
64+
node-version: ${{ matrix.node-version }}
65+
66+
- name: Build CLI
67+
working-directory: packages/cli
68+
run: pnpm run build
69+
70+
- name: Run e2e tests
71+
working-directory: packages/cli
72+
env:
73+
SOCKET_CLI_API_TOKEN: ${{ secrets.SOCKET_CLI_API_TOKEN }}
74+
run: pnpm run e2e-tests

.github/workflows/e2e-tests.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/test-sea-fallback.yml

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)