Skip to content

Commit

Permalink
ci: add scheduled audit workflow (#9169)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg authored Feb 22, 2023
1 parent 40e8588 commit b3c31a1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: audit

on:
schedule:
- cron: "0 5 * * *" # daily 5AM

env:
# not needed for audit
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
Audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: pnpm
- run: pnpm install --frozen-lockfile
# check prod dependencies as these would affect users
- run: pnpm audit --prod

0 comments on commit b3c31a1

Please sign in to comment.