Skip to content

Commit

Permalink
ci: increase threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jun 24, 2024
1 parent 297ea44 commit 438b87b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
audit-script:
required: false
type: string
default: npm audit --audit-level=high
default: npm audit --audit-level=critical
build-script:
required: false
type: string
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
with:
working-directory: ./src/dapp
run-build: true
audit-script: npm run audit --audit-level=high
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=high
audit-script: npm run audit --audit-level=critical
run-dispatch: true
secrets:
chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand All @@ -37,7 +37,7 @@ jobs:
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/build-a-bull
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
secrets:
npm-auth-token: ${{ secrets.GITHUB_TOKEN }}
build-api:
Expand All @@ -47,7 +47,7 @@ jobs:
node-version: 18.x
working-directory: ./src/voting-metadata-api
run-build: true
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
build-algorand:
name: Algorand build
uses: ./.github/workflows/smart-contract-ci.yml
Expand All @@ -59,4 +59,4 @@ jobs:
with:
working-directory: ./infrastructure
run-build: true
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,35 @@ jobs:
with:
working-directory: ./src/dapp
compile-script: npm run typecheck
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
ci-xgov-dapp:
name: CI xGov Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/xgov-dapp
pre-run-script: cd ../dapp && npm ci
compile-script: npm run typecheck
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
ci-events-dapp:
name: CI Events Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/build-a-bull
compile-script: npm run typecheck
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
ci-api:
name: CI API
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/voting-metadata-api
compile-script: npm run typecheck
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
ci-infrastructure:
name: CI Infrastructure
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./infrastructure
audit-script: npm run audit --audit-level=high
audit-script: npm run audit --audit-level=critical
ci-algorand:
name: Algorand build
uses: ./.github/workflows/smart-contract-ci.yml
Expand Down

0 comments on commit 438b87b

Please sign in to comment.