This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Bump trim, @docusaurus/core, @docusaurus/plugin-google-gtag, @docusaurus/plugin-google-tag-manager and @docusaurus/preset-classic #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check for lint/build errors | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
lint: | |
name: Lint Code Base, Spelling, Link Check | |
runs-on: ubuntu-latest | |
# the enviroment to deploy to / use secrets from | |
environment: no-secret | |
# modify the default permissions of the GITHUB_TOKEN, so as to only allow least priveleges | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint | |
uses: ConsenSys/docs-gha/lint@main | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
linkCheck: | |
name: Link Checking | |
runs-on: ubuntu-latest | |
environment: no-secret | |
strategy: | |
matrix: | |
file-extensions: [".md", ".mdx"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: LinkCheck | |
uses: ConsenSys/docs-gha/linkcheck@main | |
with: | |
FILE_EXTENSION: ${{ matrix.file-extensions }} |