File tree Expand file tree Collapse file tree 4 files changed +112
-160
lines changed
Expand file tree Collapse file tree 4 files changed +112
-160
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Tests
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ jobs :
9+ test :
10+ name : Specs
11+ runs-on : ubuntu-latest
12+ env :
13+ CI : ' true'
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : ruby/setup-ruby@v1
17+ with :
18+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
19+ - uses : actions/setup-node@v4
20+ with :
21+ cache : ' npm'
22+ - name : Install NPM dependencies
23+ run : npm ci
24+ - name : Clean
25+ run : make clean
26+ - name : Build site
27+ run : make build
28+ - name : Run Ruby tests
29+ run : bundle exec rspec
30+ - name : Run HTMLProofer
31+ run : bundle exec scripts/htmlproofer --internal
32+ - name : Lint JavaScript
33+ run : make lint-js
34+ - name : Run NPM tests
35+ run : npm run test
You can’t perform that action at this time.
0 commit comments