npm update #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 2' # Every Tuesday at midnight | |
env: | |
FORCE_COLOR: 3 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
node-version: [ 22.x ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Run npm update | |
run: | | |
npm update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GH_PR_PAT }} | |
commit-message: "chore: npm update" | |
committer: 'Michel Palourdio <mpalourdio@gmail.com>' | |
author: 'Michel Palourdio <mpalourdio@gmail.com>' | |
branch: 'npm-update' | |
delete-branch: 'true' | |
title: 'chore: npm update' | |
labels: 'dependencies' | |
body: '' |