Skip to content

Commit 8b72008

Browse files
committed
Add GH action and CODEOWNERS
1 parent ae4d50c commit 8b72008

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/run_tests.yaml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Run Jasmine Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Or your main branch
7+
pull_request:
8+
branches:
9+
- main # Or your main branch
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '22.14'
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Run htmlbook_spec
28+
run: npx jasmine spec/htmlbook_spec.js
29+
30+
# This is a placeholder for now; requires the availability of a local copy
31+
# of github.com/oreillymedia/HTMLBook
32+
# - name: Run validation spec
33+
# run: npx jasmine spec/validation_spec.js

CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These owners will be the default owners for everything in
2+
# the repo.
3+
* @oreillymedia/tools-team

0 commit comments

Comments
 (0)