Skip to content

Commit

Permalink
Update upgrade-dependencies workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fardjad committed Apr 21, 2024
1 parent e8a92dd commit 9efb0c0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/automatic-npm-check-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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
21 changes: 0 additions & 21 deletions .github/workflows/upgrade-dependencies.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dep": ["prod"]
}

0 comments on commit 9efb0c0

Please sign in to comment.