New Crowdin updates #333
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 on pull requests | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Need node to install prettier plugin(s) | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: | | |
echo "Prettier-ing files" | |
npx prettier "src/**/*.{js,jsx}" --check |