test
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
0d0 2025-02-06 11:09:18 +01:00
parent 761129b6e8
commit 04d0e23e03

View file

@ -0,0 +1,36 @@
name: Check for Minor Dependency Updates
on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight (UTC)
workflow_dispatch: # Allows manual triggering
jobs:
check-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # Adjust the Node.js version as needed
- name: Install Dependencies
run: npm install
- name: Check for Minor Updates
run: npx npm-check-updates --target minor
- name: Save ncu Results
run: |
npx npm-check-updates --target minor > ncu-report.txt
cat ncu-report.txt
- name: Upload Report as Artifact
uses: actions/upload-artifact@v3
with:
name: ncu-report
path: ncu-report.txt