Renovate dependency @types/node to ^20.14.10 #28
Workflow file for this run
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: Node Upgrade | |
on: | |
push: | |
branches: [renovate/node**] | |
jobs: | |
check: | |
name: 'propagate node upgrade' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
# https://medium.com/prompt/trigger-another-github-workflow-without-using-a-personal-access-token-f594c21373ef | |
ssh-key: ${{ secrets.COMMIT_KEY }} | |
# https://github.com/marketplace/actions/setup-node-js-environment | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Setup Node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
cache: 'pnpm' | |
node-version: '20' | |
- name: Install | |
run: pnpm install --ignore-scripts --frozen-lockfile | |
- name: Update Node | |
run: pnpm pj | |
- name: Commit Changes | |
run: | | |
git config user.name mergewhether | |
git config user.email [email protected] | |
git commit -am "Propagate node upgrade" || exit 0 | |
git push | |
exit 1 |