diff --git a/.github/workflows/lint-and-typecheck.yml b/.github/workflows/lint-and-typecheck.yml index 1397f9a..cc14f20 100644 --- a/.github/workflows/lint-and-typecheck.yml +++ b/.github/workflows/lint-and-typecheck.yml @@ -21,7 +21,7 @@ jobs: - name: Clear NPM cache run: npm cache clean --force - - name: Install dependencies and build + - name: Install dependencies run: npm ci - name: Build diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..294cd04 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,24 @@ +name: Unit tests + +on: [pull_request] + +jobs: + unit-tests: + runs-on: ubuntu-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + + - name: Install Node.js dependencies + run: npm ci + + - name: Install Playwright browsers + run: npx playwright install --with-deps chromium + + - name: Running unit tests + run: npm run test diff --git a/demos/08-bootstrap.html b/demos/08-bootstrap.html new file mode 100644 index 0000000..d4feaef --- /dev/null +++ b/demos/08-bootstrap.html @@ -0,0 +1,66 @@ + + +
+