-
Notifications
You must be signed in to change notification settings - Fork 10
62 lines (59 loc) · 1.62 KB
/
pr.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
name: Pull Request
on:
pull_request:
branches: [main, develop]
paths-ignore:
- "docs/**"
- "**.md"
- ".vscode/**"
- ".idea/**"
permissions:
contents: read
packages: read
jobs:
build-dapp:
name: Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/dapp
run-build: true
audit-script: npm run audit --audit-level=critical
build-xgov-dapp:
name: xGov Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/xgov-dapp
pre-run-script: cd ../dapp && npm ci
audit-script: npm run audit --audit-level=critical
run-dispatch: true
secrets:
chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
npm-auth-token: ${{ secrets.GITHUB_TOKEN }}
build-event-dapp:
name: Events Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/build-a-bull
audit-script: npm run audit --audit-level=critical
secrets:
npm-auth-token: ${{ secrets.GITHUB_TOKEN }}
build-api:
name: Api
uses: ./.github/workflows/node-ci.yml
with:
node-version: 18.x
working-directory: ./src/voting-metadata-api
run-build: true
audit-script: npm run audit --audit-level=critical
build-algorand:
name: Algorand build
uses: ./.github/workflows/smart-contract-ci.yml
with:
working-directory: ./src/algorand
build-infrastructure:
name: Infrastructure
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./infrastructure
run-build: true
audit-script: npm run audit --audit-level=critical