File tree 2 files changed +49
-31
lines changed
2 files changed +49
-31
lines changed Original file line number Diff line number Diff line change 7
7
8
8
workflow_dispatch :
9
9
10
- concurrency :
11
- group : pr-${{ github.head_ref || github.run_id }}
12
- cancel-in-progress : true
13
-
14
- env :
15
- TILT_VERSION : ' v0.33.21'
16
-
17
10
jobs :
18
- tests :
11
+ checks-ubuntu :
19
12
name : Tests
20
- runs-on : ubuntu-latest
21
- steps :
22
- - uses : actions/checkout@v4
23
-
24
- - name : Setup Tilt
25
- run : curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/${TILT_VERSION}/scripts/install.sh | bash
26
-
27
- - name : Setup pnpm
28
- uses : pnpm/action-setup@v4
29
-
30
- - uses : actions/setup-node@v4
31
- with :
32
- node-version-file : .nvmrc
33
- cache : pnpm
34
-
35
- - name : Run npm install
36
- run : pnpm install --frozen-lockfile
37
-
38
- - name : Eslint
39
- run : pnpm run lint
40
-
41
- - name : Run Tests
42
- run : pnpm run tilt:ci
13
+ strategy :
14
+ matrix :
15
+ runner : [ubuntu-latest, macos-latest]
16
+ uses : ./.github/workflows/reusable-pr.yaml
17
+ with :
18
+ runner : ${{ matrix.runner }}
Original file line number Diff line number Diff line change
1
+ name : checks
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ runner :
7
+ required : true
8
+ type : string
9
+
10
+ concurrency :
11
+ group : pr-${{ inputs.runner }}-${{ github.head_ref || github.run_id }}
12
+ cancel-in-progress : true
13
+
14
+ env :
15
+ TILT_VERSION : ' v0.33.21'
16
+
17
+ jobs :
18
+ tests :
19
+ name : Tests - ${{ inputs.runner }}
20
+ runs-on : ${{ inputs.runner }}
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+
24
+ - name : Setup Tilt
25
+ run : curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/${TILT_VERSION}/scripts/install.sh | bash
26
+
27
+ - name : Setup pnpm
28
+ uses : pnpm/action-setup@v4
29
+
30
+ - uses : actions/setup-node@v4
31
+ with :
32
+ node-version-file : .nvmrc
33
+ cache : pnpm
34
+
35
+ - name : Run npm install
36
+ run : pnpm install --frozen-lockfile
37
+
38
+ - name : Eslint
39
+ run : pnpm run lint
40
+
41
+ - name : Run Tests
42
+ run : DOCKER_HOST="$(docker context inspect colima -f '{{ .Endpoints.docker.Host }}')" pnpm run tilt:ci
You can’t perform that action at this time.
0 commit comments