Add interactive component catalog and browser regression tests
CI / Test and package (push) Failing after 46s
CI / Test and package (push) Failing after 46s
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
name: Test and package
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.65.1-noble
|
||||
env:
|
||||
CI: true
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run structure, browser, and accessibility tests
|
||||
run: npm run test:all
|
||||
|
||||
- name: Build distribution files
|
||||
run: npm run build
|
||||
|
||||
- name: Check bundle size
|
||||
run: npm run size
|
||||
|
||||
- name: Verify package contents
|
||||
run: npm pack --dry-run
|
||||
Reference in New Issue
Block a user