chore: update smoke.mjs for ng-schematics (#11544)

This commit is contained in:
Nikolay Vitkov
2023-12-18 15:55:52 +01:00
committed by GitHub
parent 1d52b86db7
commit 4805417a64
7 changed files with 893 additions and 894 deletions

View File

@@ -466,8 +466,17 @@ jobs:
run: npm ci
env:
PUPPETEER_SKIP_DOWNLOAD: true
- name: Setup cache for Chrome binary
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: ~/.cache/puppeteer/chrome
key: ${{ runner.os }}-Chrome-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }}
- name: Install Chrome
run: npm run postinstall
- name: Build Schematics
run: npm run build -w @puppeteer/ng-schematics
- name: Run tests
run: npm run test:smoke
run: node tools/smoke.mjs
working-directory: ./packages/ng-schematics
ng-schematics-smoke-tests-required: