diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..d6be6ab --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,19 @@ +name: Unit Tests + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm run test diff --git a/README.md b/README.md index 10a147c..d99bfba 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ English • [Russian](./README-RU.md) [NPM Version](https://npmjs.com/package/vite-plugin-readable-classnames) [NPM Downloads](https://npmjs.com/package/vite-plugin-readable-classnames) -[Coverage](https://codecov.io/gh/teplostanski/vite-plugin-readable-classnames) +Tests Status +Coverage

Make your scoped CSS module class names clear and readable — this plugin automatically adds the module filename and other useful info to class names for easier development.