Skip to content

Commit eb0c785

Browse files
committed
Add tests and github action build
1 parent d4b3ae3 commit eb0c785

File tree

5 files changed

+1833
-2
lines changed

5 files changed

+1833
-2
lines changed

.editorconfig

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ indent_style = space
1010
indent_size = 4
1111
charset = utf-8
1212
trim_trailing_whitespace = true
13-
insert_final_newline = true
13+
insert_final_newline = true
14+
15+
[{*.yml,*.yaml}]
16+
indent_size = 2

.github/workflows/build.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: setup node 20
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: "20"
19+
cache: 'npm'
20+
- run: npm ci
21+
- run: npm test

0 commit comments

Comments
 (0)