|
@ -9,14 +9,12 @@ on: |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
prettier: |
|
|
prettier: |
|
|
|
|
|
name: Run Prettier |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: Checkout |
|
|
- name: Checkout |
|
|
uses: actions/checkout@v2 |
|
|
uses: actions/checkout@v2 |
|
|
with: |
|
|
|
|
|
# Make sure the actual branch is checked out when running on pull requests |
|
|
|
|
|
ref: ${{ github.head_ref }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Prettify code |
|
|
- name: Prettify code |
|
|
uses: creyD/prettier_action@v2.2 |
|
|
uses: creyD/prettier_action@v2.2 |