Skip to content

Fix ESM imports and tree-shaking #87

Fix ESM imports and tree-shaking

Fix ESM imports and tree-shaking #87

Workflow file for this run

name: Build pull request
concurrency:
group: pr-on-${{ github.event_name }}-from-${{ github.ref_name }}
cancel-in-progress: true
on:
pull_request:
branches:
- "master"
jobs:
lint-pull-request:
name: Lint
uses: ./.github/workflows/lint.yml
build-and-test-pull-request:
name: Test
needs: lint-pull-request
uses: ./.github/workflows/test.yml
strategy:
fail-fast: false
matrix:
node: [16.x, 18.x, 20.x]
target: [es5, es2015, esnext]
module: [cjs, esm, umd]
include:
- {node: 16.x, target: ix}
- {node: 18.x, target: ix}
- {node: 20.x, target: ix}
- {node: 20.x, target: src, args: --coverage}
with:
args: ${{ matrix.args }}
node: ${{ matrix.node }}
target: ${{ matrix.target }}
module: ${{ matrix.module }}
test-tree-shaking-pull-request:
needs: build-and-test-pull-request
name: Bundle
uses: ./.github/workflows/bundle.yml

Check failure on line 41 in .github/workflows/main.pr.yml

View workflow run for this annotation

GitHub Actions / Build pull request

Invalid workflow file

The workflow is not valid. In .github/workflows/main.pr.yml (Line: 41, Col: 11): Error from called workflow ReactiveX/IxJS/.github/workflows/bundle.yml@6266f1dbebdc98c41213457c6755649484cb11c3 (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
strategy:
fail-fast: false
matrix:
bundler: [esbuild, rollup, webpack]
target: [es5, es2015, esnext]
module: [cjs, esm, umd]
include:
- {bundler: esbuild, target: ix}
- {bundler: rollup, target: ix}
- {bundler: webpack, target: ix}
with:
bundler: ${{ matrix.bundler }}
target: ${{ matrix.target }}
module: ${{ matrix.module }}