Skip to content

docs: layout css rewrite, and adding uxdot-components and more... #5474

docs: layout css rewrite, and adding uxdot-components and more...

docs: layout css rewrite, and adding uxdot-components and more... #5474

Workflow file for this run

name: Test
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
- auto_merge_enabled
push:
branches:
- main
env:
FORCE_COLOR: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
name: Web Test Runner
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Configures the node version used on GitHub-hosted runners
- name: Configure node version
uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- uses: google/wireit@setup-github-actions-caching/v1
- name: Install dependencies
run: npm ci --prefer-offline
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Lint
id: lint
run: npm run lint
- name: Run tests
run: npm test
if: ${{ always() }}
- name: JUnit Report Action
uses: mikepenz/[email protected]
if: ${{ always() }}
with:
fail_on_failure: true # fail the actions run if the tests failed
report_paths: test-results/test-results.xml
- name: Validate Build
run: npm run build
- name: Print manifest
run: jq --color-output . custom-elements.json