Skip to content

Commit 70051d2

Browse files
committed
Add some CI
1 parent 0481cc7 commit 70051d2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Checks + Tests
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout repository
8+
uses: actions/checkout@v4
9+
- name: Use Node.js
10+
uses: actions/setup-node@v4
11+
with:
12+
node-version: '20.x'
13+
cache: 'npm'
14+
- name: NPM install
15+
run: npm install
16+
- name: Verify build works
17+
run: npm run build
18+
- name: Jest
19+
run: npm run test
20+

0 commit comments

Comments
 (0)