diff --git a/.github/workflows/formatbot.yml b/.github/workflows/formatbot.yml index 58aa011..7270806 100644 --- a/.github/workflows/formatbot.yml +++ b/.github/workflows/formatbot.yml @@ -29,7 +29,13 @@ jobs: run: npm install @biomejs/biome@${{ steps.get-biome-version.outputs.BIOME_VERSION }} - name: Run formatter - run: npx @biomejs/biome check --apply-unsafe . + run: npx @biomejs/biome format --write + + - name: Restore lock files + run: | + git checkout -- *lock.json || true + git checkout -- *.lock || true + git checkout -- *.lockb || true - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 @@ -38,4 +44,4 @@ jobs: branch: ${{ github.head_ref }} commit_user_name: tscircuitbot commit_user_email: tscircuitbot@users.noreply.github.com - commit_author: tscircuitbot \ No newline at end of file + commit_author: tscircuitbot