fix: npm dependency update GitHub workflow (#6970)

This commit is contained in:
Louis Lam
2026-02-18 14:39:52 +08:00
committed by GitHub
parent 4a3ba86ebd
commit 02e082d0a7

View File

@@ -5,7 +5,9 @@ on:
schedule:
- cron: "0 0 * * *" # Run daily at midnight UTC
permissions: {}
permissions:
contents: write
pull-requests: write
jobs:
npm-update:
@@ -29,7 +31,7 @@ jobs:
node-version: 20
- name: Run npm update
run: npm update
run: npm update --package-lock-only
- name: Check if there are changes
id: check_changes