Skip to content

revert some code changes #2844

revert some code changes

revert some code changes #2844

Workflow file for this run

name: Format
on:
push:
branches:
- "**"
- "!main"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install prettier
run: pnpm install --frozen-lockfile
- name: Check prettier compliance
run: pnpm exec prettier --check './apps/**/*.{ts,tsx}'
notify-slack-on-failure:
needs: [format]
runs-on: ubuntu-latest
if: failure() && github.ref == 'refs/heads/main'
steps:
- name: Notify Slack on failure
uses: 514-labs/[email protected]
with:
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-webhook-url: ${{ secrets.SLACK_GITHUB_ACTIONS_WEBHOOK_URL }}