From 52cad0c4f036829a832197a621eab9388200d054 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 22 Mar 2020 21:32:42 -0700 Subject: [PATCH] Run prettier with npx in CI --- .github/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1141857c..2f26cae2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,8 +87,5 @@ jobs: with: node-version: "12.x" - - name: Install prettier - run: npm install -g prettier - - name: Format markdown with prettier - run: prettier --prose-wrap always --check '**/*.md' '*.md' + run: npx prettier --prose-wrap always --check '**/*.md' '*.md'