audit #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
# check prod dependencies as these would affect users | |
- run: pnpm audit --prod |