Skip to content

Adapt DISCORD_WEBHOOK_ env vars #1027

Adapt DISCORD_WEBHOOK_ env vars

Adapt DISCORD_WEBHOOK_ env vars #1027

name: Prettier Format Check
on: [push, pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run Prettier
id: prettier
run: npx prettier --config .prettierrc --check "**/*.{js,jsx,ts,tsx,html,css,scss}"
- name: Display Prettier Output
if: failure()
run: cat $GITHUB_WORKSPACE/.github/workflows/prettier.log
continue-on-error: true