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 1968255
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/upgrade-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: upgrade-node-dependencies
name: upgrade-dependencies

on:
workflow_dispatch: {}
Expand All @@ -14,8 +14,12 @@ jobs:
with:
node-version: "lts/*"
check-latest: true
- uses: fardjad/my-actions/npm-automatic-dependency-update@main
- uses: fardjad/my-actions/automatic-npm-check-updates@main
with:
github-token: ${{ secrets.GH_PAT }}
ncu-check-extra-flags: --dep prod
ncu-upgrade-extra-flags: --dep prod
post-update-commands: |
npm install
npm audit fix --quiet --no-progress --no-fund || true
npm run fix
npm version patch --no-git-tag-version
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 1968255

Please sign in to comment.