chore(deps): update html-text requirement from ~=0.6.2 to >=0.6.2,<0.8.0 #572
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
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- run: bun install | |
- name: svelte-check | |
run: | | |
echo "export default {} as Record<string, string>;" > reasonify-headless/index.d.ts | |
bun -b check | |
- name: eslint | |
run: bun -b lint | |
- name: fix | |
if: failure() && github.event_name == 'pull_request' | |
run: | | |
git fetch origin ${{ github.event.pull_request.head.ref }} --depth=1 | |
git switch ${{ github.event.pull_request.head.ref }} | |
bun -b lint --fix | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git commit --all -m "fix: auto-fix eslint errors" | |
git push |