Updated Workflow
This commit is contained in:
3
.github/workflows/prettier.yml
vendored
3
.github/workflows/prettier.yml
vendored
@@ -8,13 +8,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Cloning the repository
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Prettify the JS Code
|
||||
uses: creyD/prettier_action@master
|
||||
with:
|
||||
prettier_options: '--no-semi --write src/**/*.js'
|
||||
branch: ${{ github.head_ref }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user