diff --git a/.github/workflows/link-check-deploy.yml b/.github/workflows/link-check-deploy.yml index 45068a38d8..1dca96cd73 100644 --- a/.github/workflows/link-check-deploy.yml +++ b/.github/workflows/link-check-deploy.yml @@ -13,6 +13,8 @@ jobs: github.event.deployment_status.state == 'success' steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - id: build_check uses: LouisBrunner/checks-action@v1.0.0 with: @@ -21,7 +23,7 @@ jobs: status: queued - name: Run Link Check id: check - uses: iterative/link-check.action@v0.8 + uses: iterative/link-check.action@v0.9 with: diff: true configFile: config/link-check/config.yml diff --git a/content/docs/user-guide/contributing/docs.md b/content/docs/user-guide/contributing/docs.md index fa16a0271a..0d7d0b7c8a 100644 --- a/content/docs/user-guide/contributing/docs.md +++ b/content/docs/user-guide/contributing/docs.md @@ -85,6 +85,17 @@ Launch the server locally with: $ yarn develop ``` +> ⚠️ Do you get an error from `gatsby-plugin-manifest` about unsupported image +> formats? You may be running into +> [this issue](https://github.com/gatsbyjs/gatsby/issues/20698). You can fix it +> by reinstalling `node_modules` with a flag that forces `sharp` to ignore your +> globally installed `libvips`: +> +> ```dvc +> $ rm -r node_modules +> $ SHARP_IGNORE_GLOBAL_LIBVIPS=true yarn +> ``` + This will start the server on the default port, `8000`. Visit `http://localhost:8000/` and navigate to the page in question. This will also enable the pre-commit Git hook that will be formatting and linting your code and