-
Notifications
You must be signed in to change notification settings - Fork 688
41 lines (35 loc) · 1.01 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
pull:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Verify internal links
run: ./scripts/verify-links.sh
- name: Verify internal link anchors
run: ./scripts/verify-link-anchors.sh
vale:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Vale Linter
uses: errata-ai/[email protected]
with:
# Optional
# Specify file path to lint
#files: .
# Optional
onlyAnnotateModifiedLines: true
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}