Skip to content

Commit

Permalink
test things on the vale branch of the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Sep 11, 2024
1 parent 59143fd commit 57bc098
Show file tree
Hide file tree
Showing 9 changed files with 3,728 additions and 551 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ indent_style = space
indent_size = 2
max_line_length = 100
trim_trailing_whitespace = true

[*.md]
max_line_length = 80
indent_style = space

insert_final_newline = false
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ build/
.eslintrc.md.js
docs/test-api
./node_modules/*
*.md
*.mdx
LICENSE
34 changes: 0 additions & 34 deletions .eslintrc.md.js

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Check for broken links

on:
pull_request:
branches:
- main

jobs:
linkCheck:
name: Link Checking
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
steps:
- uses: actions/checkout@v4
- name: LinkCheck
uses: ConsenSys/docs-gha/linkcheck@main
with:
FILE_EXTENSION: ${{ matrix.file-extensions }}
23 changes: 8 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Check for lint, spelling and link errors
name: Check for lint errors

on:
pull_request:
Expand All @@ -8,26 +8,19 @@ on:

jobs:
lint:
name: Lint Code Base, Spelling, Link Check
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Lint
uses: ConsenSys/docs-gha/lint@main

- name: Lint code
uses: ConsenSys/docs-gha/lint@vale
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

linkCheck:
name: Link Checking
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
steps:
- uses: actions/checkout@v4
- name: LinkCheck
uses: ConsenSys/docs-gha/linkcheck@main
- name: Lint markdown
uses: ConsenSys/docs-gha/lint-markdown@vale
with:
FILE_EXTENSION: ${{ matrix.file-extensions }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
uses: Consensys/docs-gha/spelling@vale
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILEPATHS: "docs"

Loading

0 comments on commit 57bc098

Please sign in to comment.