Skip to content

Migration to Lit Element #1472

Migration to Lit Element

Migration to Lit Element #1472

Workflow file for this run

name: checks
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- uses: actions/cache@v4
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
working-directory: ./
run: npm ci
- name: Install playwright deps
run: npm run playwright:install
if: steps.playwright-cache.outputs.cache-hit != 'true'
- name: Run build
run: npm run build
- name: Run lint
run: npm run lint
- name: Run test
run: npm run test
- name: Run tsc
run: npm run tsc
- name: Archive artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-tests
path: |
tests/__screenshots__/**
tests/__coverage__/**