Skip to content

Commit b0633b5

Browse files
committed
chore: add demo projects back into test
1 parent e2cbd04 commit b0633b5

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

.github/workflows/main.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,24 @@ jobs:
1010
build:
1111
uses: ./.github/workflows/build.yaml
1212

13-
# check:
14-
# needs: build
15-
# uses: ./.github/workflows/check.yaml
13+
check:
14+
needs: build
15+
uses: ./.github/workflows/check.yaml
1616

1717
# Skipping for now as demo projects aren't currently running in GHA
18-
# test-demo-projects:
19-
# needs: [build, check]
20-
# uses: ./.github/workflows/test-demo-projects.yaml
21-
# secrets: inherit
18+
test-demo-projects:
19+
needs: [build, check]
20+
uses: ./.github/workflows/test-demo-projects.yaml
21+
secrets: inherit
2222

2323
test-integration:
24-
# needs: [build, check, test-demo-projects]
25-
# needs: [build, check]
26-
needs: [build]
24+
needs: [build, check, test-demo-projects]
2725
uses: ./.github/workflows/test-integration.yaml
2826
secrets: inherit
2927

3028
release:
31-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/canary' || github.ref == 'refs/heads/dx-542-update-to-gha')
32-
# needs: [build, check, test-demo-projects, test-integration]
33-
# needs: [build, check, test-integration]
34-
#
35-
needs: [build, test-integration]
29+
if: github.event_name == 'push' && contains(fromJSON('["refs/heads/main", "refs/heads/beta", "refs/heads/canary", "refs/heads/dx-542-update-to-gha"]'), github.ref)
30+
needs: [build, check, test-demo-projects, test-integration]
3631
permissions:
3732
contents: write
3833
id-token: write

0 commit comments

Comments
 (0)