Skip to content

yarn add py plugin

yarn add py plugin #3

name: CTHUB prettier test
on:
push:
branches: [ prettier-0.3.0 ]
workflow_dispatch:
jobs:
test-prettier:
name: prettier
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Test yarn
run: |
yarn --version
yarn add --exact prettier @prettier/plugin-python
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,md,py}