mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
* skip broken test * add middleware to follow new stylesheet imports * fix avatar tests * update badge tests * fix button tests * skip carousel test * fix checkbox tests * fix details test * update radio button tests * fix input tests * fix progress bar tests * update * fix range tests * fix select tests * restore wrapper div to pass a11y tests * fix switch tests * fix tag tests * fix textarea tests * fix tooltip tests * skips * fix tree item tests * [DRAFT]: test fixes (#421) * working on some stuff.. * add a small delay for menu-item * prettier * add a small delay for menu-item * prettier * add a small delay for menu-item * add a small delay for menu-item * add a small delay for menu-item * prettier * Empty commit * add a small delay for menu-item * always build with alpha * always build with alpha * move to alpha builds --------- Co-authored-by: Konnor Rogers <konnor5456@gmail.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
# # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
|
|
name: Client Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [next]
|
|
pull_request:
|
|
branches: [next]
|
|
|
|
jobs:
|
|
client_test:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [20.x]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Lint
|
|
run: npm run prettier
|
|
- name: Build
|
|
run: npm run build:alpha
|
|
- name: Install Playwright
|
|
run: npx playwright install --with-deps
|
|
- name: Run CSR tests
|
|
# FAIL_FAST to fail on first failing test.
|
|
run: FAIL_FAST="true" CSR_ONLY="true" npm run test
|