strict booleans #1323
Workflow file for this run
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: CI | |
on: pull_request | |
jobs: | |
test-latest: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-14] | |
name: Test with Angular@latest on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
# run: npm ci | |
run: npm install --force | |
env: | |
CI: true | |
- name: Build the lib | |
run: npm run build | |
- name: Run unit tests | |
run: npm run unit:${{ matrix.os }} | |
- name: Run unit tests in private mode | |
run: npm run unit:${{ matrix.os }}:private | |
- name: Run e2e tests | |
run: npm run e2e | |
if: matrix.os == 'ubuntu-latest' | |
test-minimum: | |
name: Test with Angular@18.0.0 and minimum dependencies requirements | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
# run: npm ci | |
run: npm install --force | |
env: | |
CI: true | |
- name: Build the lib (with the current version, as it is what is published on npm) | |
run: npm run build | |
- name: Downgrade dependencies to minimal required version | |
run: npm install typescript@5.4.2 tslib@2.5.0 rxjs@7.6.0 zone.js@0.14.0 @angular/common@18.0.0 @angular/compiler@18.0.0 @angular/core@18.0.0 @angular/platform-browser@18.0.0 @angular/router@18.0.0 @angular/cli@18.0.0 @angular/compiler-cli@18.0.0 @angular-devkit/build-angular@18.0.0 --legacy-peer-deps | |
env: | |
CI: true | |
- name: Run unit tests | |
run: npm run unit:ubuntu-latest | |
- name: Run unit tests in private mode | |
run: npm run unit:ubuntu-latest:private | |
- name: Run e2e tests | |
run: npm run e2e |