Skip to content

ci: add checks to actions and husky pre-commit #69

ci: add checks to actions and husky pre-commit

ci: add checks to actions and husky pre-commit #69

Workflow file for this run

name: ci
on:
pull_request:
types: [opened, reopened, synchronize, edited]
workflow_call:
workflow_dispatch:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
dry: True
only_changed: True
prettier_options: --check
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image for amd64 and arm64
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max