[FIX-eclipsesource#2386] Add support for Angular 19 #1471
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: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
name: Run on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v4.0.0 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 8 | |
run_install: false | |
- name: Build | |
run: | | |
pnpm i --frozen-lockfile | |
pnpm run build | |
pnpm run doc | |
pnpm run bundle | |
- name: Lint | |
if: matrix.os == 'ubuntu-latest' | |
run: pnpm run lint | |
- name: Test | |
if: matrix.os == 'windows-latest' || matrix.os == 'macos-latest' | |
run: | | |
set NODE_OPTIONS=--max_old_space_size=4096 | |
pnpm run test | |
- name: Test & Coverage | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
export NODE_OPTIONS=--max_old_space_size=4096 | |
pnpm run test-cov | |
pnpm run check-format | |
pnpm run merge-report && cat coverage/lcov.info | |
- name: Upload Coveralls Report | |
if: success() && matrix.os == 'ubuntu-latest' | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |