Skip to content

fix: load font and correct logo #15

fix: load font and correct logo

fix: load font and correct logo #15

Workflow file for this run

name: Format & Lint Code
on:
pull_request:
branches:
- main
- production
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
format:
runs-on: ubuntu-latest
name: Format Files
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "pnpm"
- run: pnpm i --no-frozen-lockfile
- name: Biome Formatter
run: pnpm run format
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
id: format-files
with:
commit_message: "style: format files"
skip_checkout: true
branch: ${{ github.head_ref }}
create_branch: false
- name: Push changes
if: steps.format-files.outputs.changes_detected == 'true'
run: |
git push origin ${{ github.head_ref }}
lint:
runs-on: ubuntu-latest
name: Lint Files
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "pnpm"
- run: pnpm i --no-frozen-lockfile
- name: Biome Linter
run: pnpm run lint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}