Skip to content

Run npm update

Run npm update #60

Workflow file for this run

name: Run npm update
on:
schedule:
- cron: '0 0 * * 4'
workflow_dispatch:
jobs:
build:
name: Run npm update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- run: |
npm update
git config user.name npm-update
git config user.email [email protected]
git add package-lock.json
git commit -m "Update npm dependencies" || echo "No changes to commit"
git push