Skip to content

add name to setup job #5

add name to setup job

add name to setup job #5

Workflow file for this run

---
name: Check for lint/build errors
on:
pull_request:
branches:
- main
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "18" # Use the Node.js version that matches your project requirements
- name: Install Yarn
run: yarn install
lint:
name: Lint Code Base, Spelling, Link Check
needs: setup
runs-on: ubuntu-latest
permissions:
contents: read
steps:

Check failure on line 30 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
- uses: actions/checkout@v3
- name: Lint
uses: Consensys/docs-gha/lint@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linkCheck:
name: Link Checking
needs: setup
runs-on: ubuntu-latest
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 }}"