Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
egdmrsy committed Nov 30, 2023
1 parent 41a772b commit 84af3a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ runs:
run: cd ${{ matrix.project }} && npm ci --no-audit --legacy-peer-deps && echo "result=$(npm run audit -- --production)" >> "$GITHUB_OUTPUT"
shell: bash
outputs:
result: ${{ steps.audit.outputs.result}}
result: ${{ steps.audit.outputs.result }}
11 changes: 8 additions & 3 deletions .github/workflows/daily-depcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
audit:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.audit.outputs.result }}
strategy:
matrix:
node-version: [ 18.x ]
Expand All @@ -32,12 +34,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: ./.github/workflows/audit
- id: audit
name: Audit project ${{ matrix.project }}
run: cd ${{ matrix.project }} && npm ci --no-audit --legacy-peer-deps && echo "result=$(npm run audit -- --production)" >> "$GITHUB_OUTPUT"
shell: bash
scheduled-audit-notification:
needs:
- audit
if: always()
uses: ./.github/workflows/scheduled-audit-notification.yml
with:
success: ${{ needs.analyze.result == 'success' }}
result: ${{ needs.analyze.outputs.result }}
success: ${{ needs.audit.result == 'success' }}
result: ${{ needs.audit.outputs.result }}

0 comments on commit 84af3a0

Please sign in to comment.