diff --git a/.github/workflows/ci-integrity.yml b/.github/workflows/ci-integrity.yml new file mode 100644 index 0000000..72c998f --- /dev/null +++ b/.github/workflows/ci-integrity.yml @@ -0,0 +1,64 @@ +name: CI-unitest + +on: + push: + branches: + - main + - major + - minor + # Only consider those paths to trigger the action + paths: + - "packages/**" + - "package.json" + - "*.lock" + - ".yarnrc.yml" + - "tsconfig.base.json" + - ".prettier*" + - ".github/**" + + pull_request: + branches: + - main + - major + - minor + types: + - opened + - synchronize + - reopened + # Only consider those paths to trigger the action + paths: + - "packages/**" + - "package.json" + - "*.lock" + - ".yarnrc.yml" + - "tsconfig.base.json" + - ".prettier*" + - ".github/**" +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: 📥 Install Dependencies + run: yarn --frozen-lockfile + + - name: Linter + run: | + yarn lint + + - name: Unit tests + run: | + yarn test + + - name: Build + run: | + yarn build diff --git a/README.md b/README.md index a5ecd5f..91b2660 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,23 @@ # @hyperse/tailwind-layer +

+ + build + + + stable version + + + LoC + + + GitHub top language + + + Licence + +

+ Compile your tailwindcss components into tailwind plugins and enjoy full IntelliSense autocompletion! ## Usage @@ -33,7 +51,7 @@ export default config; @tailwind base; @tailwind components; @tailwind utilities; -@import 'keen-slider/keen-slider.min.css'; +@import "keen-slider/keen-slider.min.css"; * { scroll-behavior: smooth;