automatic-npm-check-updates #1
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: automatic-npm-check-updates | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
automatic-npm-check-updates: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@main | |
with: | |
node-version: "lts/*" | |
check-latest: true | |
- uses: fardjad/my-actions/automatic-npm-check-updates@main | |
with: | |
github-token: ${{ secrets.GH_PAT }} | |
post-update-commands: | | |
npm install | |
npm audit fix --quiet --no-progress --no-fund || true | |
npm run fix | |
npm version patch --no-git-tag-version |