-
Notifications
You must be signed in to change notification settings - Fork 153
build(all): use es2019 target to support on Node12 #925
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
21924c8
fix(all): replicate issue on node 12
ijemmy 2e7cbdd
build: switch to nodejs 12
ijemmy 9749434
build: force type on descriptor to make apply metho not optional
ijemmy 146150c
TMP: figuring out why all ?. are broken
ijemmy 1ed2ea5
build: fix missing branch coverage in logger
ijemmy 0ed4111
build: fix all tracer branch coverage issue except segment undefined
ijemmy 9535fca
build: fix branch coverage (confirmed that subsegment cannot be undef…
ijemmy cc85530
build: fix linting
ijemmy 3f193c8
build: Fix linting and missing branch coverage
ijemmy 3cbd390
build(logger): switch to use uuid.v4 instead of randomUUID()
ijemmy 037146e
build: change workflow to run on all packages
ijemmy 817c5a0
build: run on unit tests in all NodeJS environment
ijemmy 5ff8739
build: remove all randomUUID as it breaks in NodeJS12
ijemmy 7a23545
build: remove unused file
ijemmy cbb478a
chore(tracer): remove debug statements
ijemmy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: | ||
NODE_ENV: dev | ||
strategy: | ||
matrix: | ||
version: [12, 14, 16] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "Use NodeJS 16" | ||
- name: "Use NodeJS" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
node-version: ${{ matrix.version }} | ||
- name: Install [email protected] | ||
run: npm i -g npm@next-8 | ||
- name: "Setup npm" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,13 +49,14 @@ jobs: | |
matrix: | ||
package: [logger, metrics, tracer] | ||
version: [12, 14, 16] | ||
fail-fast: false | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "Use NodeJS 16" | ||
- name: "Use NodeJS" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: ${{ matrix.version }} | ||
- name: "Install [email protected]" | ||
run: npm i -g npm@next-8 | ||
- name: "Install monorepo packages" | ||
|
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some unit tests fail in NodeJS12, so I make use of matrix strategy here to make sure that we don't introduce any issue later.