mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 05:12:36 +04:00
Add SCSS unit tests for mixins, utilities, and helpers (#2699)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
b5d0caee42
commit
a373e17c8e
@@ -1,4 +1,4 @@
|
||||
name: Test build
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request: null
|
||||
@@ -7,7 +7,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
@@ -33,5 +33,5 @@ jobs:
|
||||
run: pnpm exec playwright install --with-deps chromium
|
||||
working-directory: core
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm --filter @tabler/core test
|
||||
- name: Run JS tests
|
||||
run: pnpm --filter @tabler/core test:js
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
name: SCSS Tests
|
||||
|
||||
on:
|
||||
pull_request: null
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install PNPM
|
||||
uses: pnpm/action-setup@v6
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Run SCSS tests
|
||||
run: pnpm --filter @tabler/core test:scss
|
||||
Reference in New Issue
Block a user