Runs prettier on a repository's code

Overview

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):

name: Check & fix styling (prettier)

on:
  push:

jobs:
  prettier:
    runs-on: ubuntu-latest

    steps:
      - 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 for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

You might also like...

Typescript version of MarkovJunior, runs on the web (with pathtracer)

Typescript version of MarkovJunior, runs on the web (with pathtracer)

MarkovJuniorWeb Typescript version of MarkovJunior, runs on the web: https://yuu6883.github.io/MarkovJuniorWeb/ Everything have been implemented inclu

Dec 18, 2022

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

sfdx-scan-pull-request Runs sfdx-scanner on a pull request and generates in-line comments with the findings. Inputs category Categor(ies) of rules to

Jan 7, 2023

Re-run failed GitHub Workflow runs on PRs by commenting "/retest".

Retest GitHub Action If you run GitHub Actions Workflows on your PRs, install this action to re-run failed workflow runs for the latest commit by comm

Aug 24, 2022

Invadium runs exploit playbooks against vulnerable target applications in an intuitive, reproducible, and well-defined manner.

Invadium Invadium runs exploits against one or more target applications in an intuitive, reproducable, and well-defined manner. It focuses on bridging

Nov 6, 2022

🎤Rickroll in style - This uses a GitHub action that runs a NodeJS script, found in src.

🎤Rickroll in style - This uses a GitHub action that runs a NodeJS script, found in src.

This uses a GitHub action that runs a NodeJS script, found in src. This then commits the finished HTML to index.html, and then GitHub Pages will build that HTML file, allowing you to rickroll your friends.

Sep 25, 2022

vite-react-typescript with eslint and prettier predefined settings

vite-react-typescript with eslint  and prettier predefined settings

Vite + React + Typescript + Eslint + Prettier A starter for React with Typescript with the fast Vite and all static code testing with Eslint and forma

Dec 30, 2022

Rollup + Babel + Prettier + Strict ESlint + VSCode - Enterprise grade boilerplate

Javascript package boilerplate by HackingBay Rollup + Babel + Prettier + Strict ESlint + VSCode - Enterprise grade boilerplate Minimalist js package b

Dec 28, 2021

Rollup + React + Babel + Prettier + Strict ESlint and Stylelint + Sass + VSCode + Playground app - Enterprise grade boilerplate

React package boilerplate by HackingBay Rollup + React 17 + Babel + Prettier + Strict ESlint and Stylelint + Sass + VSCode + Playground app - Enterpri

Jan 19, 2022

🚀Starter project with Angular 13, Ngx-admin, NestJS, Nx Workspace, Jest, Cypress, ESLint & Prettier 🚀

🚀Starter project with Angular 13, Ngx-admin, NestJS, Nx Workspace, Jest, Cypress, ESLint & Prettier 🚀

Angular 13 + Ngx-admin + NestJs + NX Starter project with Angular 13, Ngx-admin, NestJs, Nx Workspace, Jest, Cypress, ESLint & Prettier Features ✅ Ang

Jan 4, 2023
Comments
Releases(v1.0.5)
Owner
Permafrost Software
Permafrost Software
🎮 The only Front-End Performance Checklist that runs faster than the others

Front-End Performance Checklist ?? The only Front-End Performance Checklist that runs faster than the others. One simple rule: "Design and code with p

David Dias 15.5k Jan 1, 2023
The new BASIC computer that runs in your browser!

atto The new BASIC computer that runs in your browser! Try it live: jamesl.me/atto What is atto? atto is a virtual fantasy computer system that's desi

James Livesey 34 Dec 29, 2022
Runs various integration tests for the composable picasso parachain.

Picasso Integration Tester Picasso Integration Tester is a collection of different implementation tests for the Picasso Polkadot Parachain. Installati

Dominik Roth 0 Jan 11, 2022
A URL shortener that runs on Cloudflare Workers

ITP Works A URL shortener that runs on Cloudflare Workers. It stores the rules in Cloudflare KV storage and sends a 301 redirect when a matched pathna

Yifei Gao 3 Mar 4, 2022
A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment.

jest-light-runner A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment. Comparison with the default Jest runne

Nicolò Ribaudo 193 Dec 12, 2022
View maps, graphs, and tables of your save and compete in a casual, evergreen leaderboard of EU4 achievement speed runs. Upload and share your save with the world.

PDX Tools PDX Tools is a modern EU4 save file analyzer that allow users to view maps, graphs, and data tables of their save all within the browser. If

PDX Tools 24 Dec 27, 2022
Show a helpful summary of test results in GitHub Actions CI/CD workflow runs

Test Summary Produce an easy-to-read summary of your project's test data as part of your GitHub Actions CI/CD workflow. This helps you understand at-a

Test Summary 293 Jan 2, 2023
Like useReducer, but runs in a worker.

useWorkerizedReducer useWorkerizedReducer is like useReducer, but the reducer runs in a worker. This makes it possible to place long-running computati

Surma 221 Dec 1, 2022
Server-side rendering blog runs on Cloudflare workers

Serverside rendered blog I have tried something completely against to current web trends. What are these? I am using the React as backend framework wi

null 3 Jun 24, 2022
This document introduces an early implementation of the Node-RED runtime that runs on resource-constrained microcontrollers (MCUs).

Node-RED MCU Edition Copyright 2022, Moddable Tech, Inc. All rights reserved. Peter Hoddie Updated June 25, 2022 Introduction This document introduces

Peter Hoddie 53 Jan 3, 2023