Skip to content

Commit a28b4f1

Browse files
CI setup and added happy-dom back (#5)
pre-commit hook and ci
1 parent a27cc03 commit a28b4f1

File tree

6 files changed

+2553
-8253
lines changed

6 files changed

+2553
-8253
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- '**.md'
9+
pull_request:
10+
paths-ignore:
11+
- '**.md'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 18
21+
- run: npm ci
22+
- run: npm run lint
23+
- run: npm run build
24+
- run: npm run tailwind
25+
- run: npm test
26+

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,6 @@ dist
105105

106106
# Misc
107107
.DS_Store
108-
.vscode
108+
.vscode
109+
110+
storybook-static

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,6 @@ typings/
106106
# Misc
107107
.DS_Store
108108
.storybook
109-
.vscode
109+
.vscode
110+
111+
storybook-static

0 commit comments

Comments
 (0)