forked from algorandfoundation/nft_voting_tool
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (51 loc) · 1.34 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
name: Pull Request
on:
pull_request:
branches: [main]
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=high
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=high
run-dispatch: true
secrets:
chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
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=high
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=high