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

[v20.x backport] test: relocate test files fixtures for better understanding #48787 #49174

Closed
wants to merge 115 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
3b5663c
test_runner: fix global before not called when no global test exists
rluvaton Jul 24, 2023
0fce9d0
doc: add ver of 18.x where Node-api 9 is supported
mhdawson Jul 24, 2023
222ce81
http: start connections checking interval on listen
ShogunPanda Jul 24, 2023
23aa191
tools: update lint-md-dependencies to rollup@3.26.3
nodejs-github-bot Jul 25, 2023
eb7fa4b
doc: improve requireHostHeader
GuidoPenta Jul 25, 2023
d130e6f
doc: change duration to duration_ms on test documentation
ardinugrxha Jul 25, 2023
af900c9
deps: update ada to 2.6.0
nodejs-github-bot Jul 25, 2023
15bbe47
doc: run license-builder
github-actions[bot] Jul 26, 2023
b206233
sea: add support for V8 bytecode-only caching
RaisinTen Jul 26, 2023
f8b421e
fs: make `mkdtemp` accept buffers and URL
LiviaMedeiros Jul 18, 2023
d2e92b9
fs: mention `URL` in NUL character error message
LiviaMedeiros Jul 18, 2023
5268181
doc: add new reporter events to custom reporter examples
atlowChemi Jul 26, 2023
3066f69
src: remove ContextEmbedderIndex::kBindingDataStoreIndex
joyeecheung Jul 26, 2023
833e571
src,permission: restrict by default when pm enabled
RafaelGSS Jul 26, 2023
223e86a
module: ensure successful import returns the same result
aduh95 Jul 26, 2023
bc6c8d6
benchmark: add pm startup benchmark
RafaelGSS Jul 26, 2023
6446346
lib,permission: drop repl autocomplete when pm enabled
RafaelGSS Jul 27, 2023
12f6981
doc: fix second parameter name of `events.addAbortListener`
deokjinkim Jul 27, 2023
4945534
watch: use debounce instead of throttle
MoLow Jul 25, 2023
51666e1
watch: decrease debounce rate
MoLow Jul 25, 2023
4c26335
doc: improved joinDuplicateHeaders definition
OnSuorce Jul 28, 2023
33fe631
test: fix `es-module/test-esm-initialization`
aduh95 Jul 29, 2023
8a93829
test_runner: add `__proto__` null
rluvaton Jul 29, 2023
8de763e
benchmark: add benchmarks for the test_runner
rluvaton Jul 29, 2023
2489588
url: fix `isURL` detection by checking `path`
Zhangdroid Jul 26, 2023
9326f0b
test_runner: unwrap error message in TAP reporter
cjihrig Jul 29, 2023
20269a0
test_runner: fix todo and only in spec reporter
MoLow Jul 26, 2023
454d8dc
test_runner: dont set exit code on todo tests
MoLow Jul 26, 2023
5b90126
test_runner: cleanup test timeout abort listener
rluvaton Jul 31, 2023
9e33a36
test: improve internal/worker/io.js coverage
kuriyosh Jul 31, 2023
6b07b68
test: fix some assumptions in tests
aduh95 Jul 31, 2023
6b6a2c0
test: order `common.mjs` in ASCII order
aduh95 Jul 31, 2023
d128ca1
diagnostics_channel: fix last subscriber removal
gabrielschulhof Jul 26, 2023
931bb1e
test: fix snapshot tests when cwd contains spaces or backslashes
aduh95 Jul 31, 2023
08e2008
test_runner: fix timeout in *Each hook failing further tests
rluvaton Jul 31, 2023
1e4d8b0
deps: update googletest to c875c4e
nodejs-github-bot Aug 1, 2023
76b402c
tools: update lint-md-dependencies to rollup@3.27.0
nodejs-github-bot Aug 1, 2023
a639825
tools: update eslint to 8.46.0
nodejs-github-bot Aug 1, 2023
794a551
test: validate error code rather than message
aduh95 Aug 1, 2023
a6cdf09
src: do not pass user input to format string
aduh95 Aug 1, 2023
4caa326
src: cast v8::Object::GetInternalField() return value to v8::Value
joyeecheung Aug 2, 2023
26ca3a5
doc: drop github actions check in sec release process
RafaelGSS Aug 2, 2023
d00bac1
test_runner: fix global after not failing the tests
rluvaton Aug 2, 2023
9cbbd47
esm: fix typo `parentUrl` -> `parentURL`
aduh95 Aug 2, 2023
220bea6
esm: add `initialize` hook, integrate with `register`
izaakschroeder Aug 3, 2023
971e47e
meta: bump actions/setup-python from 4.6.1 to 4.7.0
dependabot[bot] Aug 3, 2023
4758ce0
meta: bump actions/setup-node from 3.6.0 to 3.7.0
dependabot[bot] Aug 3, 2023
3bd7dfa
meta: bump step-security/harden-runner from 2.4.1 to 2.5.0
dependabot[bot] Aug 3, 2023
3b6f099
meta: bump github/codeql-action from 2.20.1 to 2.21.2
dependabot[bot] Aug 3, 2023
9e0d82a
test: remove --no-warnings flag in test_runner fixtures
rluvaton Aug 3, 2023
9aff47c
test: use `fixtures.fileURL` when appropriate
aduh95 Aug 3, 2023
1e476ae
test: refactor `test-node-output-errors`
aduh95 Aug 3, 2023
adfa393
tls: fix bugs of double TLS
ywave620 Jul 15, 2023
f2cb04e
test: use `spawn` and `spawnPromisified` instead of `exec`
aduh95 Aug 5, 2023
2bd131b
doc: remove v14 mention
RafaelGSS Aug 5, 2023
530ae44
doc: clarify use of process.env in worker threads on Windows
daeyeon Aug 5, 2023
778220b
typings: update JSDoc for `cwd` in `child_process`
LiviaMedeiros Aug 5, 2023
9a93f22
tools: limit the number of auto start CIs
aduh95 Aug 8, 2023
a5ccc32
doc: reserve 118 for Electron 27
dsanders11 Aug 8, 2023
29e1e4d
tools: update lint-md-dependencies to rollup@3.27.2
nodejs-github-bot Aug 8, 2023
1434304
doc: add "type" to test runner event details
philnash Aug 8, 2023
78cddf6
doc: detailed description of keystrokes Ctrl-Y and Meta-Y
rayw000 Aug 8, 2023
29de91a
doc: add ESM examples in http.md
btea Apr 28, 2023
09ac815
doc: add missing period
Trott Aug 10, 2023
4060f24
src: fix callback_queue.h missing header
CGQAQ Aug 10, 2023
59767f3
test: add `tmpdir.fileURL()`
LiviaMedeiros Aug 10, 2023
3e9ac48
esm: protect `ERR_UNSUPPORTED_DIR_IMPORT` against prototype pollution
aduh95 Aug 11, 2023
398bb44
test: print instruction for creating missing snapshot in assertSnapshot
rluvaton Aug 11, 2023
b0a57d4
test: stabilize the inspector-open-dispose test
atlowChemi Aug 11, 2023
3320790
test_runner: expose location of tests
cjihrig Jul 30, 2023
280b735
test_runner: run global after() hook earlier
cjihrig Aug 7, 2023
0616744
doc: add description for `--port` flag of `node inspect`
iloveitaly Aug 11, 2023
f01224e
src: avoid string copy in BuiltinLoader::GetBuiltinIds
anonrig Aug 11, 2023
ee49c04
src: modernize use-equals-default
CGQAQ Aug 11, 2023
97ce710
doc: update with latest security release
RafaelGSS Aug 11, 2023
0463cb3
doc: update process.binding deprecation text
tniessen Aug 11, 2023
50feedc
Revert "test_runner: run global after() hook earlier"
joyeecheung Aug 12, 2023
052707f
test: reduce flakiness of `test-esm-loader-hooks`
aduh95 Aug 12, 2023
56ad64b
readline: add paste bracket mode
jcubic Mar 18, 2023
8df3ba6
lib: fix to add resolve() before return at Blob.stream()'s source.pull()
bellbind Jul 26, 2023
b822792
events: remove weak listener for event target
rluvaton Aug 12, 2023
af19785
deps: update undici to 5.23.0
nodejs-github-bot Aug 12, 2023
036e9fa
fs: fix readdir recursive sync & callback
Aug 12, 2023
11742fd
src: remove redundant code for uv_handle_type
Aug 12, 2023
5440a9f
src: add ability to overload fast api functions
anonrig Aug 1, 2023
1515e93
url: overload `canParse` V8 fast api method
anonrig Aug 1, 2023
c55d1ce
esm: import.meta.resolve exact module not found errors should return
guybedford Aug 13, 2023
c0936e3
test: document `fixtures.fileURL()`
LiviaMedeiros Aug 13, 2023
ea9d1e0
test: add `tmpdir.resolve()`
LiviaMedeiros Aug 13, 2023
f0f665c
module: make CJS load from ESM loader
aduh95 Aug 13, 2023
e9a94fb
esm: unflag import.meta.resolve
guybedford Aug 13, 2023
5d73a58
stream: improve WebStreams performance
rluvaton Aug 13, 2023
8179751
esm: fix `globalPreload` warning
aduh95 Aug 13, 2023
c1f7728
lib: fix MIME overmatch in data URLs
andremralves Aug 13, 2023
00de8be
doc: make the NODE_VERSION_IS_RELEASE revert clear
RafaelGSS Aug 13, 2023
d7f5f25
doc: fix name of the flag in `initialize()` docs
aduh95 Aug 14, 2023
de95c3d
src: refactor vector writing in snapshot builder
joyeecheung Aug 14, 2023
b9407ff
test_runner: reland run global after() hook earlier
cjihrig Aug 14, 2023
eba3a40
src: remove duplicated code in `GenerateSingleExecutableBlob()`
Aug 14, 2023
6206ccd
deps: update zlib to 1.2.13.1-motley-526382e
nodejs-github-bot Aug 6, 2023
0b2e81c
doc: fix `Type` notation in webstreams
deokjinkim Aug 14, 2023
44a3626
tools: update eslint to 8.47.0
nodejs-github-bot Aug 15, 2023
ef9f868
deps: update googletest to 7e33b6a
nodejs-github-bot Aug 6, 2023
f43e5e1
tools: add @reporters/github to tools
MoLow Aug 13, 2023
9b8f69e
tools: use @reporters/github when running in github actions
MoLow Aug 13, 2023
350d3d3
tools: use spec reporter in actions
MoLow Aug 13, 2023
0de3403
test: refactor `test-esm-loader-hooks` for easier debugging
aduh95 Aug 15, 2023
4929204
test: fix assertion message in test_async.c
tniessen Aug 15, 2023
0b79e8f
tools: update lint-md-dependencies
nodejs-github-bot Aug 13, 2023
f8026e0
test: use `tmpdir.resolve()` in fs tests
LiviaMedeiros Aug 15, 2023
1554f51
test: use `tmpdir.resolve()` in fs tests
LiviaMedeiros Aug 15, 2023
58512eb
test: use `tmpdir.resolve()`
LiviaMedeiros Aug 15, 2023
4a24ffc
test: use `tmpdir.resolve()`
LiviaMedeiros Aug 15, 2023
2ed105a
doc: add print results for examples in `WebStreams`
Aug 15, 2023
7c07077
test: reorder test files fixtures for better understanding
rluvaton Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ test/fixtures
test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md/lint-md.mjs
tools/github_reporter
benchmark/tmp
benchmark/fixtures
doc/**/*.js
Expand Down
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ module.exports = {
},
] },
},
{
files: [
'lib/internal/test_runner/**/*.js',
],
rules: {
'node-core/set-proto-to-null-in-object': 'error',
},
},
],
rules: {
// ESLint built-in rules
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
--label 'request-ci' \
--json 'number' \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
--limit 5)
echo "numbers=$numbers" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -51,7 +51,7 @@ jobs:
persist-credentials: false

- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -69,7 +69,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -94,4 +94,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install node-core-utils
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -53,7 +53,7 @@ jobs:
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -53,7 +53,7 @@ jobs:
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -45,7 +45,7 @@ jobs:
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
- name: Install Node.js
id: setup-node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand All @@ -40,4 +40,4 @@ jobs:
name: docs
path: out/doc
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --measure-flakiness 9"
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-collaborators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
persist-credentials: false

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-tsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
repository: nodejs/TSC

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand All @@ -44,7 +44,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -60,11 +60,11 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand All @@ -122,7 +122,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -139,7 +139,7 @@ jobs:
with:
persist-credentials: false
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down Expand Up @@ -73,6 +73,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@f6e388ebf0efc915c6c5b165b019ee61a6746a38 # v2.20.1
uses: github/codeql-action/upload-sarif@0ba4244466797eb048eb91a6cd43d5c03ca8bd05 # v2.21.2
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300 --measure-flakiness 9"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/test-internet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
4 changes: 2 additions & 2 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -60,4 +60,4 @@ jobs:
- name: Build
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
10 changes: 9 additions & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ jobs:
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: github_reporter
subsystem: tools
label: tools
run: |
./tools/dep_updaters/update-github-reporter.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: googletest
subsystem: deps
label: dependencies, test
Expand Down Expand Up @@ -282,7 +290,7 @@ jobs:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
if: matrix.id == 'icu' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: ${{ matrix.run }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-v8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install node-core-utils
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ The externally maintained libraries used by Node.js are:

- ada, located at deps/ada, is licensed as follows:
"""
Copyright 2023 Ada authors
Copyright 2023 Yagiz Nizipli and Daniel Lemire

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
Loading