Skip to content

Merge pull request #21 from Raboro/eslint-to-biome #1

Merge pull request #21 from Raboro/eslint-to-biome

Merge pull request #21 from Raboro/eslint-to-biome #1

Workflow file for this run

name: CI
on:
push:
branches:
- master
workflow_dispatch:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Fix biome issues
run: bun run biome:write
- name: Commit changes
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git commit -am "refactor(GHActionbot): :art: formatted & linting & organized imports with biome" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Check if all issues are fixed with biome
run: bun run biome:ci