This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
chore(deps): update dependency @types/node to v18.17.15 #112
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: Renovate Helper | |
on: | |
pull_request: | |
paths: | |
- "package-lock.json" | |
- "package.json" | |
jobs: | |
npm: | |
runs-on: ubuntu-22.04 | |
if: github.actor == 'renovate[bot]' | |
permissions: | |
contents: write | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: peaceiris/workflows/setup-git@v0.19.1 | |
- run: npm install -g corepack && corepack enable npm | |
- uses: peaceiris/workflows/setup-node@v0.19.1 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- run: npm run build | |
- run: git status | |
- run: git diff --exit-code | |
- name: Commit and Push | |
if: failure() | |
env: | |
HEAD_REF: ${{ github.head_ref }} | |
run: | | |
git checkout -b "${HEAD_REF}" "origin/${HEAD_REF}" | |
git add . | |
git commit -m "chore: npm run build" | |
git push |