Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/trueberryless-org/starlight-theme-next. Starlight theme inspired by the Next.js docs. starlight-theme-next.trueberryless.org
Something went wrong. Try again.
1.2 kB · 42 lines
YAML
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243name: autofix.cion: pull_request: push: branches: [main]permissions: contents: read
env: NODE_VERSION: 24.14.1
jobs: autofix: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false
- name: Setup PNPM uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Setup Node uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: ${{ env.NODE_VERSION }} cache: "pnpm"
- name: Install Dependencies run: pnpm i
- name: Run prettier run: pnpm exec prettier . --write
# Optimize all PNGs with https://pngquant.org/ - run: sudo apt-get update && sudo apt-get install -y pngquant - name: Run pngquant run: | shopt -s globstar find . -type d \( -name node_modules -o -name dist \) -prune -o -type f -name '*.png' -exec pngquant --force --skip-if-larger --ext .png 256 {} \;
- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8