Skip to content

feat: format

feat: format #4

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build Blog
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Install softwatre dependencies
run: sudo apt-get install -y highlight imagemagick make ipe
- name: Install pnpm dependencies
run: pnpm i
- name: Check formatting
run: pnpm exec prettier . --check
- name: Build
run: make build