Skip to content

Commit

Permalink
Maybe we need to install dependencies first? See errata-ai/vale-actio…
Browse files Browse the repository at this point in the history
  • Loading branch information
RCheesley committed Oct 25, 2024
1 parent cbdeb3f commit 1c91441
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions .github/workflows/vale_linting.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
name: Vale linting
on:
pull_request:

jobs:
prose:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Vale
uses: errata-ai/vale-action@reviewdog
with:
version: 3.7.1
files: docs/en
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- name: Install dependencies
run: npm install
- name: Vale
uses: errata-ai/vale-action@reviewdog
with:
version: 3.7.1
files: docs/en
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1c91441

Please sign in to comment.