Skip to content

[lit-starter-js] [lit-starter-ts] Update starter template READMEs #12143

[lit-starter-js] [lit-starter-ts] Update starter template READMEs

[lit-starter-js] [lit-starter-ts] Update starter template READMEs #12143

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
# This is the default list, but I don't know how to YAML an empty pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
cache-dependency-path: package-lock.json
- name: NPM install
run: npm ci
- name: Lint
run: npm run lint
- name: Check formatting
run: npm run format:check
tests-local:
runs-on: ubuntu-latest
env:
WIREIT_LOGGER: quiet-ci
WIREIT_PARALLEL: 1
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
cache-dependency-path: package-lock.json
# - uses: google/wireit@setup-github-actions-caching/v1
- name: Install playwright deps
run: npx playwright install-deps
- name: NPM install
run: npm ci
- name: Build
run: npm run build
- name: Test
env:
BROWSERS: preset:local
CONCURRENT_BROWSERS: 3
run: npm run test
windows-tools:
runs-on: windows-latest
env:
WIREIT_LOGGER: quiet-ci
WIREIT_PARALLEL: 1
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
cache-dependency-path: package-lock.json
# - uses: google/wireit@setup-github-actions-caching/v1
- name: NPM install
run: npm ci
- name: Test
env:
RUN_BROWSER_TESTS: false
run: npm run test:windows