Skip to content

Convert to text editor to rich text editor #28

Convert to text editor to rich text editor

Convert to text editor to rich text editor #28

Workflow file for this run

name: Prettier
on:
pull_request:
branches:
- alpha
workflow_dispatch:
jobs:
prettier:
name: Prettify code
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install npm dependencies
run: npm install
- name: Run Prettier
uses: creyD/[email protected]
with:
prettier_options: --write .
commit_message: 'style(prettier): run prettier'
prettier_plugins: 'prettier-plugin-svelte prettier-plugin-tailwindcss'