Skip to content

Update dev dependencies #338

Update dev dependencies

Update dev dependencies #338

name: Update dev dependencies
permissions: write-all
on:
schedule:
- cron: "0 18 * * *"
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Update dev dependencies
run: npx npm-check-updates -u '/devDependencies/'
- name: Install dev dependencies
run: npm install --only=dev
- name: Run tests
run: npm test
- name: Commit changes
run: |
git config --global user.name "Kristjan ESPERANTO"
git config --global user.email '[email protected]'
git add -A
git diff-index --quiet HEAD || git commit -m "Automated dependency update"
git push