chore: streamline CI workflow #2620
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: | |
types: ['opened', 'reopened', 'synchronize'] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['18', '20'] | |
name: Node ${{ matrix.node }} build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Build, test and lint all projects (except website) | |
run: yarn nx run-many -t build lint test dtslint test:import test:esm --exclude=rxjs.dev | |
- name: rxjs.dev build | |
run: yarn workspace rxjs.dev build --prod | |
- name: rxjs.dev test | |
run: yarn workspace rxjs.dev test --watch=false --browsers=ChromeHeadless |