📝 Split trademark policy & guidelines (#214) #538
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: Validate markdown and YAML | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
env: | |
GH_BOT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" | |
GH_BOT_NAME: "GitHub Action" | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Check markdown links | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache-dependency-path: '**/package-lock.json' | |
cache: 'npm' | |
- name: Check markdown links | |
working-directory: ${{ github.workspace }}/.github | |
run: | | |
npm ci | |
npm run test |