fix: urls stored as strings in db but still validated #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier Format Check | |
on: | |
pull_request: | |
jobs: | |
prettier-check: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up Node.js environment | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '22.9.0' | |
# Install dependencies (including Prettier and plugins) | |
- name: Install dependencies | |
working-directory: frontend | |
run: npm install | |
# Run Prettier check | |
- name: Run Prettier check | |
working-directory: frontend | |
run: npx prettier --check "**/*.{js,jsx,ts,tsx,html,css,json,md}" |