Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed May 29, 2024
1 parent 261d659 commit e81785f
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
64 changes: 64 additions & 0 deletions .github/workflows/ci-integrity.yml
Original file line number Diff line number Diff line change
@@ -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
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @hyperse/tailwind-layer

<p align="left">
<a aria-label="Build" href="https://github.com/hyperse-io/tailwind-layer/actions?query=workflow%3ACI">
<img alt="build" src="https://img.shields.io/github/actions/workflow/status/hyperse-io/tailwind-layer/ci-integrity.yml?branch=main&label=ci&logo=github&style=flat-quare&labelColor=000000" />
</a>
<a aria-label="stable version" href="https://www.npmjs.com/package/@hyperse/tailwind-layer">
<img alt="stable version" src="https://img.shields.io/npm/v/%40hyperse%2Ftailwind-layer?branch=main&label=version&logo=npm&style=flat-quare&labelColor=000000" />
</a>
<a>
<img alt="LoC" src="https://img.shields.io/bundlephobia/min/%40hyperse%2Ftailwind-layer?style=flat-quare&labelColor=000000" />
</a>
<a aria-label="Top language" href="https://github.com/hyperse-io/tailwind-layer/search?l=typescript">
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/hyperse-io/tailwind-layer?style=flat-square&labelColor=000&color=blue">
</a>
<a aria-label="Licence" href="https://github.com/hyperse-io/tailwind-layer/blob/main/LICENSE">
<img alt="Licence" src="https://img.shields.io/github/license/hyperse-io/tailwind-layer?style=flat-quare&labelColor=000000" />
</a>
</p>

Compile your tailwindcss components into tailwind plugins and enjoy full IntelliSense autocompletion!

## Usage
Expand Down Expand Up @@ -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";

Check failure on line 54 in README.md

View workflow job for this annotation

GitHub Actions / test (18.x)

Replace `"keen-slider/keen-slider.min.css"` with `'keen-slider/keen-slider.min.css'`

* {
scroll-behavior: smooth;
Expand Down

0 comments on commit e81785f

Please sign in to comment.