diff --git a/.github/workflows/prettier_format.yml b/.github/workflows/prettier_format.yml index a3e660bc19..d916bca354 100644 --- a/.github/workflows/prettier_format.yml +++ b/.github/workflows/prettier_format.yml @@ -3,7 +3,7 @@ name: Prettier Auto-Format on: push: branches: - - master + - feat/add-prettier-format jobs: prettier: @@ -13,11 +13,5 @@ jobs: - name: Check Out Repository uses: actions/checkout@v2 - - name: Install Prettier - run: npm install prettier --global - - - name: Display Prettier Version - run: prettier --version - - name: Run Prettier Auto-Format - run: prettier --write . + run: docker run --rm -v $PWD:/app -w /app prettier/prettier:latest --write .