Skip to content

Commit d4f66a8

Browse files
author
Mitchell Henke
authored
Switch from CircleCI to GitHub Actions (#549)
* Switch from CircleCI to GitHub Actions * Update dependencies
1 parent 33ca5e7 commit d4f66a8

File tree

4 files changed

+112
-160
lines changed

4 files changed

+112
-160
lines changed

.circleci/config.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)