Skip to content

Commit 3dfe24c

Browse files
committed
ci: add lint and clarinet tests
1 parent 576b4b9 commit 3dfe24c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
lint-and-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "20"
17+
cache: "npm"
18+
- name: Install
19+
run: npm ci
20+
- name: Lint
21+
run: npm run lint
22+
- name: Tests (Clarinet)
23+
run: npm test

0 commit comments

Comments
 (0)