Skip to content

Merge branch 'main' of https://github.com/keift/stress #12

Merge branch 'main' of https://github.com/keift/stress

Merge branch 'main' of https://github.com/keift/stress #12

Workflow file for this run

name: Retouch
on:
push:
branches:
- main
jobs:
job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
registry-url: https://registry.npmjs.org
- name: Delete lockfile
run: rm -rf ./bun.lock
- name: Install dependencies
run: bun install
- name: Run Prettier
run: bun run prettier
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and push
run: |
if [[ -n $(git status --porcelain) ]]; then
git add ./
git commit -m "✨ chore: retouch"
git push
else
echo "No changes."
fi