Skip to content

Commit 90d47ef

Browse files
ci: split CI jobs
1 parent 3a28e49 commit 90d47ef

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/sdk-ci.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
test:
15+
check-code:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
@@ -39,11 +39,26 @@ jobs:
3939
working-directory: packages/sdk
4040
run: npm run check-types
4141

42-
- name: Test Unit
42+
test:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: 18
50+
51+
- name: Install Dependencies
52+
working-directory: packages/sdk
53+
run: |
54+
npm ci
55+
npm run codegen
56+
57+
- name: Test unit
4358
working-directory: packages/sdk
4459
run: npm run test:unit
4560

46-
- name: Prepare e2e test stack
61+
- name: Start e2e test stack
4762
working-directory: packages/sdk
4863
run: npm run start-test-stack
4964

0 commit comments

Comments
 (0)