chore: Add schematics tests to CI (#9235)

**What kind of change does this PR introduce?**

Add CI for testing Schematics.

**Did you add tests for your changes?**

Not relevant.

**If relevant, did you update the documentation?**

Not relevant.

**Summary**

We want to check if tests for `@puppeteer/ng-schematics` are passing
after

**Does this PR introduce a breaking change?**

No

**Other information**
This commit is contained in:
Nikolay Vitkov 2022-11-10 15:26:46 +01:00 committed by GitHub
parent ae87bfc2b4
commit 15604f474a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,3 +290,19 @@ jobs:
working-directory: ./docker
run: |
docker run -i --init --cap-add=SYS_ADMIN --rm puppeteer-test-image node -e "`cat test/smoke-test.js`"
ng-schematics-tests:
name: Test Angular Schematics
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3.5.1
with:
cache: npm
node-version: latest
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run tests
run: npm run test --workspace @puppeteer/ng-schematics