Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

npm-update-package #628

npm-update-package

npm-update-package #628

name: npm-update-package
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
npm-update-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- run: |
npx npm-update-package \
--git-user-email 97396142+npm-update-package[bot]@users.noreply.github.com \
--git-user-name npm-update-package[bot] \
--github-token $GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}