yarn add py plugin #3
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: 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} |