chore(deps): update actions/checkout action to v4 #65
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: Build | |
on: push | |
jobs: | |
build: | |
if: | |
contains(github.event.pull_request.user.login, 'renovate') != 'true' && | |
contains(github.actor, 'renovate') != 'true' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build and commit build | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
npm install --frozen-lockfile | |
npm run build | |
git add dist/ | |
git diff-index --quiet HEAD || git commit -m "ci: generate build" | |
git push |