Detect hardcoded-outdated NPM packages #593
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: Detect hardcoded-outdated NPM packages | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 23 * * * # Every 07:00 CST | |
concurrency: detectHardcodedOutdatedNPMPackages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
generateConfiguration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
check-latest: true | |
cache: npm | |
- name: Installing the dependencies | |
uses: AnnAngela/cached_node-modules@v2 | |
with: | |
command: npm run ci | |
- name: Detect hardcoded-outdated NPM packages | |
run: node scripts/detectHardcodedOutdatedNPMPackages/index.js |