Skip to content

Some rough html and css for a learn page #3462

Some rough html and css for a learn page

Some rough html and css for a learn page #3462

name: Integration tests
on: [push, pull_request]
jobs:
integration-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npx playwright install-deps
- id: test
run: npm run test:integration
# This step needs to come before the :update-golden-screenshots step
# below, since that will delete the output files.
- name: Upload screenshot-diffs.zip artifact
if: ${{ always() && steps.test.outcome == 'failure' }}
uses: actions/upload-artifact@v2
with:
name: screenshot-diffs
path: packages/lit-dev-tests/test-results/**/*.png
# Only exists if it was screenshot tests that failed. Other kinds of
# tests could also fail.
if-no-files-found: ignore
- if: ${{ always() && steps.test.outcome == 'failure' }}
run: npm run test:integration:update-golden-screenshots
- name: Upload screenshot-goldens.zip artifact
if: ${{ always() && steps.test.outcome == 'failure' }}
uses: actions/upload-artifact@v2
with:
name: screenshot-goldens
path: packages/lit-dev-tests/src/playwright/**/**.png
if-no-files-found: error