Skip to content

Commit 02326a7

Browse files
committed
ci: Setup
1 parent 7bcdf05 commit 02326a7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Continuous integration
2+
on:
3+
- push
4+
5+
jobs:
6+
lint:
7+
name: Lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 21
14+
- run: npm ci
15+
- run: npm run lint
16+
17+
test:
18+
name: Test
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 21
25+
- run: npm ci
26+
- run: npm run test

0 commit comments

Comments
 (0)