Skip to content

Commit 53989a3

Browse files
committed
ci:update ci workflow
1 parent c29c82a commit 53989a3

2 files changed

Lines changed: 7 additions & 15 deletions

File tree

.github/workflows/ci-lint.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: Static code analysis
22

33
on:
44
workflow_call:
@@ -28,13 +28,6 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030

31-
- name: ⬇️ Download Build Archive
32-
uses: ./.github/workflows/actions/download-archive
33-
with:
34-
name: vscode-webdriverio
35-
path: .
36-
filename: vscode-webdriverio-build.zip
37-
3831
- name: 📃 Run the lint
3932
run: pnpm run style:fix
4033
shell: bash

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,32 @@ jobs:
2121
os: 'ubuntu-latest'
2222

2323
lint:
24-
name: Lint
25-
needs: [build]
24+
name: Static code analysis
2625
uses: ./.github/workflows/ci-lint.yml
2726

2827
typecheck:
2928
name: Typecheck
30-
needs: [build]
29+
needs: [lint, build]
3130
uses: ./.github/workflows/ci-typecheck.yml
3231

3332
unit:
3433
name: Unit
35-
needs: [build]
34+
needs: [lint, build]
3635
uses: ./.github/workflows/ci-unit.yml
3736

3837
e2e:
3938
name: E2E
40-
needs: [build]
39+
needs: [lint, build]
4140
uses: ./.github/workflows/ci-e2e.yml
4241

4342
compatibility:
4443
name: Compatibility
45-
needs: [build]
44+
needs: [lint, build]
4645
uses: ./.github/workflows/ci-e2e.yml
4746
with:
4847
compatibility-mode: 'yes'
4948

5049
smoke:
5150
name: Smoke
52-
needs: [build, e2e]
51+
needs: [lint, build, e2e, compatibility]
5352
uses: ./.github/workflows/ci-smoke.yml

0 commit comments

Comments
 (0)