Skip to content

Merge pull request #24 from Raboro/c8c0dependabot/npm_and_yarn/esbuil… #4

Merge pull request #24 from Raboro/c8c0dependabot/npm_and_yarn/esbuil…

Merge pull request #24 from Raboro/c8c0dependabot/npm_and_yarn/esbuil… #4

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
- name: Build
run: bun run build