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:
parent
ae87bfc2b4
commit
15604f474a
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -290,3 +290,19 @@ jobs:
|
|||||||
working-directory: ./docker
|
working-directory: ./docker
|
||||||
run: |
|
run: |
|
||||||
docker run -i --init --cap-add=SYS_ADMIN --rm puppeteer-test-image node -e "`cat test/smoke-test.js`"
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user