Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

⬆️ Bump astro from 3.1.0 to 3.3.2 #341

⬆️ Bump astro from 3.1.0 to 3.3.2

⬆️ Bump astro from 3.1.0 to 3.3.2 #341

Workflow file for this run

name: Prettify
on: [push, pull_request]
jobs:
prettify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
- name: Install Dependency
run: yarn add -D prettier-plugin-astro
- name: Run Prettier
run: yarn run format
- name: Check Diff
id: check_diff
run: git diff . || echo "::set-output name=diff::true"
- name: Push
if: steps.check_diff.outputs.diff == 'true'
run: |
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "🎨 Automatic Prettier"
git push