-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (38 loc) · 982 Bytes
/
build.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
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
spellcheck:
runs-on: ubuntu-latest
name: Check spelling
steps:
- name: Spell-Check
uses: check-spelling/[email protected]
with:
checkout: true
# don't check extra dictionaries
check_extra_dictionaries: ''
extra_dictionaries:
cspell:software-terms/dict/softwareTerms.txt
cspell:npm/dict/npm.txt
cspell:node/dict/node.txt
cspell:en_GB/src/hunspell/en_GB.dic
build:
runs-on: ubuntu-latest
name: 'Build and Test'
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Build
run: bundle exec middleman build
- name: 'Check for broken links'
run: bundle exec rake check_urls
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}