diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b18a5f15..b7fb875c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,6 +133,6 @@ jobs: - name: Set up Node prefix run: npm config set prefix $NPM_PREFIX - name: Set up prettier - run: npm install --global prettier@2.0.5 + run: npm install --global prettier@2.3.1 - name: Check style run: ./tools/checkstyle-md.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5fc55bfa..d85e6991 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -143,7 +143,7 @@ format Go files, and [prettier](https://prettier.io/) to format Markdown files. ```sh go get golang.org/x/tools/cmd/goimports -npm install --global prettier@2.0.5 +npm install --global prettier@2.3.1 ``` Once you have installed the tools, use `make style` to format Go and Markdown