Skip to content

Commit 66d4e61

Browse files
committed
feat: tooltip html component
1 parent 033e1eb commit 66d4e61

20 files changed

+1977
-74
lines changed

.github/workflows/publish.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
build:
@@ -24,6 +24,14 @@ jobs:
2424
run: npm test
2525
- name: Build
2626
run: npm run build
27-
- name: Publish
27+
- name: Publish
2828
if: success()
2929
run: npx semantic-release
30+
- run: npm run build
31+
if: success()
32+
- name: Deploy - https://draggable.github.io/formeo/
33+
if: success()
34+
uses: peaceiris/actions-gh-pages@v4
35+
with:
36+
github_token: ${{ secrets.GH_TOKEN }}
37+
publish_dir: ./dist

.lefthook/commitlint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
if [[ -z "$CI" ]]; then
4+
npx commitlint --edit $GIT_PARAMS
5+
fi

globals.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module '*.css';

lefthook.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pre-commit:
1111
run: npx lint-staged
1212

1313
commit-msg:
14-
commands:
15-
commitlint:
16-
run: npx commitlint --edit $GIT_PARAMS
17-
skip: CI == 'true'
14+
scripts:
15+
"commitlint.sh":
16+
runner: bash

0 commit comments

Comments
 (0)