Bump undici from 5.21.0 to 5.28.4 #4240
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: Integration tests | |
on: [push, pull_request] | |
jobs: | |
integration-tests: | |
runs-on: macos-latest | |
timeout-minutes: 20 | |
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 |