-
Notifications
You must be signed in to change notification settings - Fork 3k
37 lines (27 loc) · 925 Bytes
/
ci_main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: Initialize Nx Cloud distributed CI run
uses: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js"
- 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