Bump dependencies #539
This file contains 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: Bump dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 45 19 * * * # 60 min before Dependabot | |
push: | |
paths: | |
- package.json | |
- package-lock.json | |
- .github/workflows/bump.yml | |
branches: | |
- main | |
permissions: write-all | |
jobs: | |
bump: | |
name: Bump | |
runs-on: ubuntu-20.04 | |
concurrency: bump-group | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Node.JS | |
uses: actions/[email protected] | |
with: | |
node-version: 22.10.0 | |
cache: npm | |
- name: Bump Twemoji | |
run: | |
npm pkg set dependencies.@twemoji/parser="<=$(npm show @discordapp/twemoji | |
version)" | |
- name: Bump | |
id: sync_types | |
uses: cobaltt7/[email protected] | |
- name: Commit | |
id: commit | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{secrets.TOKEN}} | |
author: | |
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |
commit-message: Bump dependencies | |
branch: ci-bump-dependencies | |
delete-branch: true | |
title: Bump dependencies | |
body-path: ${{steps.sync_types.outputs.output-dir}}/output.md |