Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/permafrost-dev/prettier-docker-ga
Runs prettier on a repository's code
https://github.com/permafrost-dev/prettier-docker-ga
beautify code-formatter github-actions prettier
Last synced: 1 day ago
JSON representation
Runs prettier on a repository's code
- Host: GitHub
- URL: https://github.com/permafrost-dev/prettier-docker-ga
- Owner: permafrost-dev
- License: mit
- Created: 2021-12-25T11:24:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T13:31:03.000Z (over 1 year ago)
- Last Synced: 2025-01-01T18:48:29.727Z (23 days ago)
- Topics: beautify, code-formatter, github-actions, prettier
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# prettier-docker-ga
Run prettier on your code from Github workflows.
Sample Github workflow (this assumes there is a `prettier.config.js` file in your repository):
```yaml
name: Check & fix styling (prettier)on:
push:jobs:
prettier:
runs-on: ubuntu-lateststeps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}- name: Run prettier
uses: permafrost-dev/prettier-docker-ga@main
with:
args: --config prettier.config.js ./src- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Patrick Organ](https://github.com/patinthehat)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.