-
Notifications
You must be signed in to change notification settings - Fork 72
97 lines (82 loc) · 2.85 KB
/
pull-request-workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: Test PR
on:
merge_group:
types:
- checks_requested
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
jobs:
package-size:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/package-size.yml
permissions:
contents: read
issues: write
pull-requests: write
secrets:
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_API_KEY: ${{ secrets.UPSTASH_API_KEY }}
lint-and-test:
uses: ./.github/workflows/lint-and-test.yml
secrets:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
chromatic:
uses: ./.github/workflows/chromatic-prod.yml
needs: lint-and-test
secrets:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
smoke-test-action:
uses: ./.github/workflows/smoke-test-action.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-node-api:
uses: ./.github/workflows/smoke-test-node-api.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-node-18:
uses: ./.github/workflows/smoke-test-node18.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-node-20:
uses: ./.github/workflows/smoke-test-node20.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-npx:
uses: ./.github/workflows/smoke-test-npx.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-windows:
uses: ./.github/workflows/smoke-test-windows.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-yarn:
uses: ./.github/workflows/smoke-test-yarn.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-yarn-berry:
uses: ./.github/workflows/smoke-test-yarn-berry.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-yarn-canary:
uses: ./.github/workflows/smoke-test-yarn-canary.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
smoke-test-yarn-classic:
uses: ./.github/workflows/smoke-test-yarn-classic.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}