Skip to content

chore(deps): update dependency eslint to v9 #460

chore(deps): update dependency eslint to v9

chore(deps): update dependency eslint to v9 #460

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- renovate/**
- dependabot/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
build:
name: Build Code
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup project
uses: ./.github/actions/setup
- name: Run build
run: pnpm run build
- name: Check difference
id: diff
run: |
set +e
git diff --exit-code dist/
echo "has-diff=$([ $? -eq 0 ] && echo false || echo true)" >> $GITHUB_OUTPUT
- name: Commit changes
if: steps.diff.outputs.has-diff == 'true'
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git commit --all --message "build(main): update build"
git push