Skip to content

Commit d5d8995

Browse files
committed
added ci file
1 parent 2995920 commit d5d8995

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
cache: "npm"
16+
17+
- run: npm ci
18+
19+
- name: Lint
20+
run: npm run lint
21+
22+
- name: Check types
23+
run: npm run check-types
24+
25+
- name: Tests
26+
run: npm run test
27+
28+
- name: Build
29+
run: npm run build

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.github
22
.husky
3+
assets
34
coverage
45
src
56
node_modules
67
src
7-
tests
88
.eslintignore
99
.eslintrc
1010
.gitignore
@@ -13,4 +13,6 @@ tests
1313
.prettierrc
1414
dts-bundle-generator.config.ts
1515
tsconfig.json
16+
tsconfig.cjs.json
17+
tsconfig.esm.json
1618
vite.config.ts

0 commit comments

Comments
 (0)