File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 default : ' ubuntu-latest'
1111 type : string
1212
13+ env :
14+ TURBO_TELEMETRY_DISABLED : 1
15+
1316jobs :
1417 build :
1518 name : Build
2629 node-version : ' 20'
2730
2831 - name : 🏗️ Build Packages
29- run : pnpm run compile
32+ run : pnpm run build
3033 shell : bash
3134
3235 - name : ⬆️ Upload Build Artifacts
Original file line number Diff line number Diff line change 1+ name : E2E tests
2+
3+ on :
4+ workflow_call :
5+ # Make this a reusable workflow, no value needed
6+ # https://docs.github.com/en/actions/using-workflows/reusing-workflows
7+
8+ env :
9+ TURBO_TELEMETRY_DISABLED : 1
10+
11+ jobs :
12+ unit :
13+ name : E2E Tests (${{ matrix.os }}.${{ matrix.node-version }})
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ node-version : ['20']
18+ os : ['ubuntu-latest', 'windows-latest', 'macos-latest']
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - name : 👷 Checkout
22+ uses : actions/checkout@v4
23+ with :
24+ ssh-key : ${{ secrets.DEPLOY_KEY }}
25+
26+ - name : 🛠️ Setup workspace
27+ uses : ./.github/workflows/actions/setup-workspace
28+ with :
29+ node-version : ${{ matrix.node-version }}
30+
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+
38+ - name : 🧪 Run the e2e test
39+ run : pnpm run test:e2e
40+ shell : bash
41+
42+ - name : 🐛 Debug Build
43+ 44+ if : failure()
45+ with :
46+ timeout : ' 180000'
Original file line number Diff line number Diff line change 1+ name : Typecheck
2+
3+ on :
4+ workflow_call :
5+ # Make this a reusable workflow, no value needed
6+ # https://docs.github.com/en/actions/using-workflows/reusing-workflows
7+
8+ env :
9+ TURBO_TELEMETRY_DISABLED : 1
10+
11+ jobs :
12+ typecheck :
13+ name : Typecheck
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ node-version : ['20']
18+ os : ['ubuntu-latest']
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - name : 👷 Checkout
22+ uses : actions/checkout@v4
23+ with :
24+ ssh-key : ${{ secrets.DEPLOY_KEY }}
25+
26+ - name : 🛠️ Setup workspace
27+ uses : ./.github/workflows/actions/setup-workspace
28+ with :
29+ node-version : ${{ matrix.node-version }}
30+
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+
38+ - name : 🏛️ Run the typecheck
39+ run : pnpm run typecheck --only
40+ shell : bash
Original file line number Diff line number Diff line change 55 # Make this a reusable workflow, no value needed
66 # https://docs.github.com/en/actions/using-workflows/reusing-workflows
77
8+ env :
9+ TURBO_TELEMETRY_DISABLED : 1
10+
811jobs :
912 unit :
1013 name : Unit Tests (${{ matrix.os }}.${{ matrix.node-version }})
Original file line number Diff line number Diff line change 99 - v[0-9]+.[0-9]+.[0-9]+*
1010 pull_request :
1111
12+ concurrency :
13+ group : ci-${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
1216jobs :
1317 build :
1418 name : Build
2125 needs : [build]
2226 uses : ./.github/workflows/ci-lint.yml
2327
28+ typecheck :
29+ name : Typecheck
30+ needs : [build]
31+ uses : ./.github/workflows/ci-typecheck.yml
32+
2433 unit :
2534 name : Unit
2635 needs : [build]
2736 uses : ./.github/workflows/ci-unit.yml
37+
38+ e2e :
39+ name : E2E
40+ needs : [build]
41+ uses : ./.github/workflows/ci-e2e.yml
You can’t perform that action at this time.
0 commit comments