Skip to content

feat: fmt

feat: fmt #6

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 soupault
env:
SOUPAULT_VERSION: 4.10.0
run: |
echo Downloading and unpacking soupault
wget https://github.com/PataphysicalSociety/soupault/releases/download/$SOUPAULT_VERSION/soupault-$SOUPAULT_VERSION-linux-x86_64.tar.gz
tar xvf soupault-$SOUPAULT_VERSION-linux-x86_64.tar.gz
sudo mv -v ./soupault-$SOUPAULT_VERSION-linux-x86_64/soupault /usr/bin/
rm -rf ./soupault*
- name: Install pnpm dependencies
run: pnpm i
- name: Check formatting
run: pnpm exec prettier . --check
- name: Build
run: make build