Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update lerna since parameter for push github action #1580

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7ffc0f0
chore: update lerna since parameter for push github action
chigia001 Jul 13, 2023
88f37ce
chore: update lerna since parameter for push github action
chigia001 Jul 13, 2023
93d74d8
chore: fix missing space
chigia001 Jul 13, 2023
415488e
chore: fix wrong syntax
chigia001 Jul 13, 2023
96b0958
chore: switch to use pull_request.base.sha
chigia001 Jul 13, 2023
3aab8a6
Merge branch 'main' into chore-1473-main-codecov
chigia001 Jul 14, 2023
542f4e4
chore: test codecov with CarryOver flag
chigia001 Jul 15, 2023
5ac041e
chore: test codecov with CarryOver flag
chigia001 Jul 15, 2023
5d09a74
chore: show caryforward in comment
chigia001 Jul 15, 2023
f31ecfe
Merge branch 'main' of github.com:open-telemetry/opentelemetry-js-con…
chigia001 Jul 15, 2023
94da7ec
chore: temp full-run
chigia001 Jul 15, 2023
7b14c92
Revert "chore: temp full-run"
chigia001 Jul 15, 2023
a3802e2
chore: apply since to browser to test if we have carry forward or not
chigia001 Jul 15, 2023
3d52e10
chore: test partial coverage report
chigia001 Jul 15, 2023
87e56d4
Revert "chore: test partial coverage report"
chigia001 Jul 15, 2023
6217c29
Merge branch 'main' into chore-1473-main-codecov
chigia001 Jul 15, 2023
031848d
chore: only full run for node@14, keep delta run for other node version
chigia001 Jul 16, 2023
e1d19fd
chore: only full run for node@14, keep delta run for other node version
chigia001 Jul 16, 2023
1edc85e
Merge branch 'main' into chore-1473-main-codecov
chigia001 Jul 16, 2023
1ed2632
chore: revert codecov change
chigia001 Jul 16, 2023
915aa7c
Merge branch 'chore-1473-main-codecov' of github.com:chigia001/opente…
chigia001 Jul 16, 2023
7b51e7c
Merge branch 'main' into chore-1473-main-codecov
chigia001 Jul 16, 2023
b7bdf09
hoist issue
chigia001 Jul 19, 2023
d78dc7c
Merge branch 'main' of github.com:open-telemetry/opentelemetry-js-con…
chigia001 Jul 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/unit-test.yml
Expand Up @@ -10,6 +10,9 @@ jobs:
fail-fast: false
matrix:
node: ["14", "16", "18"]
include:
- node: "14"
code-coverage: true
runs-on: ubuntu-latest
services:
memcached:
Expand Down Expand Up @@ -145,13 +148,17 @@ jobs:
- name: Install Root Dependencies
run: npm install --ignore-scripts
- name: Bootstrap Dependencies
run: npx lerna bootstrap --no-ci --hoist --nohoist='zone.js' --nohoist='mocha' --nohoist='ts-mocha'
- name: Unit tests
run: npm run test:ci:changed -- ${{ matrix.lerna-extra-args }}
run: npx lerna bootstrap --no-ci --nohoist='**'
- name: Unit Test (Full Run)
if: matrix.code-coverage
run: npm run test -- ${{ matrix.lerna-extra-args }}
- name: Unit Test (Delta Run)
if: ${{!matrix.code-coverage}}
run: npm run test -- --since ${{github.event.pull_request.base.sha || github.event.push.before }} ${{ matrix.lerna-extra-args }}
- name: Build examples
run: npm run compile:examples
- name: Report Coverage
if: matrix.node == '14'
if: matrix.code-coverage
uses: codecov/codecov-action@v3
with:
verbose: true
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -21,7 +21,6 @@
"compile:examples": "lerna run compile:examples",
"prewatch": "npm run precompile",
"test": "lerna run test",
"test:ci:changed": "lerna run test --since origin/main",
"test:browser": "lerna run test:browser --concurrency 1",
"bootstrap": "lerna bootstrap --no-ci",
"bump": "lerna publish",
Expand Down