Skip to content

Commit 926f42f

Browse files
committed
Add CI workflow
1 parent 5e0755b commit 926f42f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ insert_final_newline = true
1313
[*.md]
1414
indent_style = space
1515
indent_size = 4
16+
17+
[*.yml]
18+
indent_style = space
19+
indent_size = 2

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
workflow_dispatch:
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version-file: "package.json"
18+
- run: npm ci --no-fund
19+
- run: npm run lint

0 commit comments

Comments
 (0)