fix: make context picker a radio group #5450
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |