-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Node 20 and work around ICU calendar bug
Node 20 (ICU 73.1, actually) introduced a bug that broke some tests. This PR ensures that our tests will continue to run after other users update their CI to Node 20. See https://bugs.chromium.org/p/chromium/issues/detail?id=1451943 for the bug. https://bugs.chromium.org/p/chromium/issues/detail?id=1173158 is the root cause issue that was made worse in ICU 73.1. The fix was to avoid using Intl.DateTimeFormat in the polyfill for Gregorian-based calendars. A nice side effect of this is that these calendars now run tests faster and no longer fail for dates before 1582-10-15.
- Loading branch information
1 parent
8b94fd6
commit 08d214e
Showing
5 changed files
with
52 additions
and
59 deletions.
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 |
---|---|---|
|
@@ -10,10 +10,10 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
- name: use node.js v19.x | ||
- name: use node.js v20.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 19.x | ||
node-version: 20.x | ||
- run: npm ci | ||
- run: npm run build | ||
- uses: JamesIves/[email protected] | ||
|
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
Submodule test262
updated
88 files