Skip to content

update-deps

update-deps #264

Workflow file for this run

name: update-deps
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
permissions:
contents: write
pull-requests: write
jobs:
update_deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npx npm-check-updates -u -x eslint
- run: rm -f package-lock.json
- run: npm install
- run: ls -l .git
- run: mv .git/hooks/pre-commit .git/hooks/pre-commit.disabled
- uses: peter-evans/create-pull-request@v6
with:
commit-message: "fix(ignore): update dependencies"
branch: "deps/all"
title: Update dependencies
token: ${{ secrets.GH_TOKEN }}