Skip to content

Commit b782d04

Browse files
Update build.yml
1 parent b083840 commit b782d04

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
build-ts-examples:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
type: [console,discordbot]
1013

1114
steps:
1215
- uses: actions/checkout@v3
@@ -18,12 +21,12 @@ jobs:
1821

1922
- name: Install dependencies
2023
run: |
21-
cd examples/typescript
24+
cd examples/typescript/${{ matrix.type }}
2225
yarn install --frozen-lockfile
2326
2427
- name: Build
2528
run: |
26-
cd examples/typescript
29+
cd examples/typescript/${{ matrix.type }}
2730
yarn build
2831
2932
docker-build-environments:
@@ -56,4 +59,4 @@ jobs:
5659
uses: docker/build-push-action@v2
5760
with:
5861
context: ./environments/${{ matrix.environment }}
59-
push: false
62+
push: false

0 commit comments

Comments
 (0)