chore(deps): update dependency @tscircuit/builder to v1.9.5 - autoclosed #24
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: Format PR | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
format: | |
name: Format code | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Get @biomejs/biome version | |
id: get-biome-version | |
run: echo "BIOME_VERSION=$(node -p "require('./package.json').devDependencies['@biomejs/biome']")" >> $GITHUB_OUTPUT | |
- name: Install @biomejs/biome | |
run: npm install @biomejs/biome@${{ steps.get-biome-version.outputs.BIOME_VERSION }} | |
- name: Run formatter | |
run: npx @biomejs/biome format . | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "formatbot: Automatically format code" | |
branch: ${{ github.head_ref }} | |
commit_user_name: tscircuitbot | |
commit_user_email: [email protected] | |
commit_author: tscircuitbot <[email protected]> |