Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Fail on critical advisories in runtime dependencies.
# Runs daily too, because new advisories appear without any code change.
# https://pnpm.io/cli/audit
name: Dependency audit
on:
pull_request:
schedule:
- cron: '17 6 * * *'
workflow_dispatch:

permissions:
contents: read

jobs:
audit:
name: pnpm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: lts/*

# Reads pnpm-lock.yaml, no install needed
- name: Audit runtime dependencies
run: pnpm audit --prod --audit-level critical
2 changes: 1 addition & 1 deletion examples/next-appDir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"next": "16.2.10"
"next": "16.4.2"
},
"devDependencies": {
"@types/node": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"next": "16.2.10"
"next": "16.4.2"
},
"devDependencies": {
"@types/node": "catalog:",
Expand Down
Loading
Loading