We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1242bb7 commit 485328dCopy full SHA for 485328d
1 file changed
.github/workflows/npm-check-versions.yml
@@ -0,0 +1,34 @@
1
+---
2
+name: NPM Check Versions
3
+
4
+on:
5
+ schedule:
6
+ - cron: "0 0 * * 0"
7
+ workflow_dispatch:
8
9
+permissions: {}
10
11
+defaults:
12
+ run:
13
+ working-directory: md
14
15
+jobs:
16
+ npm-check-versions:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Check out
20
+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21
+ with:
22
+ persist-credentials: false
23
+ - name: Set up Node
24
+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
25
26
+ node-version: 24
27
+ - name: Check outdated dependencies
28
+ shell: bash
29
+ run: |
30
+ set -euo pipefail
31
+ IFS=$'\n\t'
32
+ if npx npm-check-updates | tee -a /dev/stderr | grep -q -e '→' ; then
33
+ exit 1
34
+ fi
0 commit comments