mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
* continued ssr work * continued ssr work * prettier * all components now rendering * everything finally works * fix type issues * working on breadcrumb * working on breadcrumb * radio group * convert all tests to ssr * prettier * test suite finally passing * add layout stuff * add changelog * fix TS issue * fix tests * fixing deploy stuff * get QR code displaying * fix tests * fix tests * prettier * condense hydration stuff * prettier * comment out range test * fixing issues * use base fixtures * fixing examples * dont vendor * fix import of hydration support * adding notes * add notesg * add ssr loader * fix build * prettier * add notes * add notes * prettier * fixing bundled stuff * remove cdn * remove cdn * prettier * fiixng tests * prettier * split jobs?? * prettier * fix build stuff * add reset mouse and await aTimeout * prettier * fix improper tests * prettier * bail on first * fix linting * only test form with client * redundancy on ssr-loader?? * maybe this will work * prettier * try callout now * fix form.test.ts * fix form.test.ts * prettier * fix forms * fix forms * try again * prettier * add some awaits * prettier * comment out broken SSR tests * prettier * comment out broken SSR tests * prettier * dont skip in CI * upgrade playwright to beta * prettier * try some trickery * try some trickery * await updateComplete * try to fix form.test.ts * import hydrateable elements 1 time * prettier * fix input defaultValue issues * fix form controls to behave like their native counterpartS * add changelog entry * prettier * fix unexpected behavior with range / button
102 lines
3.0 KiB
YAML
102 lines
3.0 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: Node.js CI
|
|
|
|
# on:
|
|
# push:
|
|
# branches: [next]
|
|
# pull_request:
|
|
# branches: [next]
|
|
|
|
# jobs:
|
|
# build:
|
|
# 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'
|
|
# - run: npm ci
|
|
# - run: npx playwright install-deps
|
|
# - run: npm run verify
|
|
|
|
# # 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: Node.js CI
|
|
|
|
on:
|
|
push:
|
|
branches: [next]
|
|
pull_request:
|
|
branches: [next]
|
|
|
|
jobs:
|
|
lint:
|
|
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'
|
|
- run: npm ci
|
|
- run: npm run prettier && npm run lint
|
|
|
|
test_client:
|
|
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'
|
|
- run: npm ci
|
|
- run: npx playwright uninstall --all && npx playwright install --force chromium firefox webkit --with-deps
|
|
- run: npm run build
|
|
# --bail to fail on first failing test.
|
|
- run: CSR_ONLY="true" npm run test -- --bail
|
|
|
|
test_ssr:
|
|
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'
|
|
- run: npm ci
|
|
- run: npx playwright uninstall --all && npx playwright install --force chromium firefox webkit --with-deps
|
|
- run: npm run build
|
|
- run: SSR_ONLY="true" npm run test -- --bail
|