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

v19.9.0 proposal #47441

Merged
merged 140 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
b58d523
tools: update eslint to 8.36.0
nodejs-github-bot Mar 14, 2023
b0aad34
meta: ask expected behavior reason in bug template
bnoordhuis Mar 14, 2023
b3fe2ba
node-api: verify cleanup hooks order
legendecas Feb 17, 2023
a5ebc89
test_runner: support defining test reporter in NODE_OPTIONS
SRHerzog Mar 14, 2023
f6ec81d
inspector: fix session.disconnect crash
theanarkh Mar 14, 2023
90f4e16
src: fix clang 14 linker error
kvakil Mar 15, 2023
316d626
doc: fix "maintaining dependencies" heading typos
kvakil Mar 15, 2023
aefe266
src: remove SSL_CTX_get_tlsext_ticket_keys guards
tniessen Mar 15, 2023
d1ca5b6
tools: align update-ada.sh with other scripts
tony-go Mar 15, 2023
8850dac
tools: update lint-md-dependencies to rollup@3.19.1
nodejs-github-bot Mar 15, 2023
d6a1232
repl: preserve preview on ESCAPE key press
meixg Mar 16, 2023
36a026b
src: remove dead comments about return_code_cache
kvakil Mar 16, 2023
5a43586
test_runner: accept \x1b as a escape symbol
debadree25 Mar 16, 2023
2fd0f79
src: fix duplication of externalized builtin code
kvakil Mar 17, 2023
c08995e
doc: indicate that `name` is no longer an optional argument
danielroe Mar 17, 2023
7bcfd18
test: mark test-http-max-sockets as flaky on win32
tniessen Mar 17, 2023
9537672
vm: properly handle defining props on any value
dubzzz Mar 18, 2023
41a69e7
test: skip broken tests win arm64
StefanStojanovic Mar 22, 2023
6772aa6
test: fix test-child-process-exec-cwd
StefanStojanovic Mar 27, 2023
ff6070e
deps: V8: cherry-pick cb30b8e17429
RaisinTen Mar 30, 2023
8f9b9c1
doc: rename the startup performance initiative to startup snapshot (#…
joyeecheung Mar 17, 2023
49981b9
test: reduce flakiness of test-http-remove-header-stays-removed.js
debadree25 Mar 18, 2023
82c7757
doc: improve documentation for util.types.isNativeError()
brodo Mar 18, 2023
c45a697
doc: clarify that `fs.create{Read,Write}Stream` support `AbortSignal`
aduh95 Mar 18, 2023
0b565e8
url: allow extension of user provided URL objects
aduh95 Mar 19, 2023
65955f1
test,crypto: update WebCryptoAPI WPT
panva Mar 19, 2023
10569de
deps: cherry-pick win/arm64/clang fixes
zcbenz Mar 19, 2023
c5cd6b7
events: add getMaxListeners method
KhafraDev Mar 19, 2023
5749dfa
test: update URL web-platform-tests
anonrig Mar 19, 2023
45e7b10
test: fix 'checks' validation test for checkPrime
tniessen Mar 19, 2023
d2a6aa6
meta: update GOVERNANCE.md to reflect TSC charter changes
Trott Mar 16, 2023
d78bef8
tools,meta: update README and tools to reflect changes in TSC charter
Trott Mar 16, 2023
a03aaba
doc: update collaborator guide to reflect TSC changes
Trott Mar 16, 2023
55f3d21
node-api: document node-api shutdown finalization
legendecas Mar 20, 2023
a3bffba
meta: move TSC voting member to regular membership
nodejs-github-bot Mar 20, 2023
e3d98c3
buffer: use private properties for brand checks in File
KhafraDev Mar 20, 2023
7ec87fd
doc: fix typos in async_context.md
shubhamsharma088 Mar 20, 2023
4530582
test_runner: count nested tests
MoLow Mar 21, 2023
78ce8d3
tools: allow test tap output to include unicode characters
MoLow Mar 21, 2023
f378256
stream: dont wait for next item in take when finished
rluvaton Mar 22, 2023
77f7200
node-api: extend type-tagging to externals
gabrielschulhof Mar 22, 2023
e33dfce
inspector: log response and requests in the inspector for debugging
joyeecheung Mar 22, 2023
254a03b
crypto: unify validation of checkPrime checks
tniessen Mar 22, 2023
0a4ff2f
src: replace impossible THROW with CHECK
tniessen Mar 22, 2023
337123d
tools: update daily wpt actions summary
panva Mar 22, 2023
ef62e5a
url: implement URL.canParse
KhafraDev Mar 22, 2023
c03e79b
msi: migrate to WiX4
StefanStojanovic Mar 22, 2023
5419535
meta: move TSC voting member(s) to regular member(s)
nodejs-github-bot Mar 23, 2023
36c118b
doc: remove use of DEFAULT_ENCODING in PBKDF2 docs
tniessen Mar 23, 2023
3f49da5
tools: notify on Slack when invalid commit lands
aduh95 Mar 23, 2023
2c2b07c
fs: invalidate blob created from empty file when written to
debadree25 Mar 23, 2023
3e7f8e8
test_runner: report failing tests after summary
HinataKah0 Mar 23, 2023
461ef04
url: add pending-deprecation to `url.parse()`
anonrig Mar 23, 2023
0c613c9
tools: fix Slack notification action
aduh95 Mar 23, 2023
dc024d9
meta: automate description requests when notable change label is added
danielleadams Mar 24, 2023
b8c6ced
stream: expose stream symbols
ronag Mar 24, 2023
8a69929
deps: V8: cherry-pick 975ff4dbfd1b
debadree25 Mar 24, 2023
908798a
doc: update stream.reduce concurrency note
rluvaton Mar 24, 2023
eb4de00
doc: fix grammar in the collaborator guide
VoltrexKeyva Mar 24, 2023
7a2090c
doc: drop one-week branch sync on major releases
RafaelGSS Mar 24, 2023
7a4beaa
deps: V8: cherry-pick 215ccd593edb
joyeecheung Mar 24, 2023
ca981be
node-api: deprecate napi_module_register
vmoroz Jan 23, 2023
6dca79f
tools: standardize update-nghttp2.sh
marco-ippolito Mar 25, 2023
deb80b1
tools: add button to copy code example to clipboard
jakecastelli Mar 25, 2023
b96808b
test,crypto: update WebCryptoAPI WPT
panva Mar 25, 2023
22b9acd
meta: update link to collaborators discussion page
targos Mar 25, 2023
a21459e
doc: update output of example in AbortController
deokjinkim Mar 22, 2023
0b78ac5
tools: standardize update-llhttp.sh
marco-ippolito Mar 25, 2023
def7e3d
tools: upgrade Windows digital signature to SHA256
tniessen Mar 25, 2023
9ecf2a4
tools: update lint-md-dependencies to rollup@3.20.2
nodejs-github-bot Mar 26, 2023
0b2ba44
doc: clarify http error events after calling destroy()
zbjornson Mar 26, 2023
7124624
doc: improve example for Error.captureStackTrace()
brodo Mar 26, 2023
0949f23
doc: use serial comma in cli docs
tniessen Mar 27, 2023
7e24498
deps: upgrade npm to 9.6.2
npm-cli-bot Mar 15, 2023
bd4697a
test_runner: expose reporter for use in run api
atlowChemi Mar 28, 2023
d0a5e7e
src: fix some recently introduced coverity issues
mhdawson Mar 23, 2023
06b7183
deps: V8: cherry-pick 3e4952cb2a59
richardlau Mar 23, 2023
bac893a
doc: fix typo in SECURITY.md
Trott Mar 28, 2023
c1ef1fd
tools: update codecov branch
Trott Mar 28, 2023
98f64ee
tools: standardize base64 update
marco-ippolito Mar 29, 2023
2499677
tools: pin actions by hash for auto-start-ci.yml
gabibguti Mar 29, 2023
567573b
test: skip instantiateStreaming-bad-imports WPT
targos Mar 29, 2023
1fc62c7
stream: add setter & getter for default highWaterMark (#46929)
ronag Mar 29, 2023
e29a146
doc: revise example of assert.CallTracker
deokjinkim Mar 29, 2023
3970537
build: avoid usage of pipes library
VoltrexKeyva Mar 29, 2023
296577a
doc: document process for sharing project news
mhdawson Mar 21, 2023
d341d03
test: skip test-wasm-web-api on ARM
targos Mar 29, 2023
b0809a7
src,http2: ensure cleanup if a frame is not sent
ywave620 Mar 30, 2023
2c95f6e
meta: clarify the threat model to explain the JSON.parse case
mcollina Mar 30, 2023
53e8dad
tools: add scorecard workflow
mateonunez Mar 30, 2023
89445fb
doc: make win arm64 tier 2 platform
StefanStojanovic Mar 30, 2023
83791e5
tools: fix typo in nghttp2 path
marco-ippolito Mar 31, 2023
30c667e
tools: automate brotli update
marco-ippolito Mar 31, 2023
e2eb054
test: update wasm/jsapi WPT
targos Mar 31, 2023
2a6c23e
deps: update corepack to 0.17.1
nodejs-github-bot Mar 31, 2023
03b6650
tools: fix duration_ms to be milliseconds
MoLow Mar 31, 2023
1c21fbf
doc: vm.SourceTextModule() without context option
axkibe Mar 31, 2023
4b09222
deps: upgrade npm to 9.6.3
npm-cli-bot Mar 31, 2023
034082f
tools: update eslint to 8.37.0
nodejs-github-bot Mar 31, 2023
2192b5b
doc: add importing util to example of `process.report.getReport'
deokjinkim Mar 31, 2023
cbb3627
util: fix inspecting error with a throwing getter for `cause`
aduh95 Mar 31, 2023
7d37dcd
lib: add tracing channel to diagnostics_channel
Qard Mar 31, 2023
16d3dfa
meta: fix notable-change comment label url
panva Mar 31, 2023
54261f3
test: run WPT files in parallel again
panva Mar 31, 2023
7a80312
src: don't reset embeder signal handlers
dvyukov Mar 31, 2023
6a4076a
benchmark: lower URL.canParse runs
KhafraDev Mar 31, 2023
c340de6
tools: disable Codecov commit statuses
targos Apr 1, 2023
a4b1a77
esm: skip file: URL conversion to path when possible
aduh95 Apr 1, 2023
863b4d9
doc: remove Vladimir de Turckheim from Security release stewards
vdeturckheim Apr 1, 2023
23a69d9
buffer: fix blob range error with many chunks
KhafraDev Apr 1, 2023
6b87f29
test_runner: add code coverage support to spec reporter
pulkit-30 Apr 2, 2023
666df20
build: remove Python pip `--no-user` option
cclauss Apr 2, 2023
910d296
build: update stale action from v7 to v8
Trott Apr 3, 2023
33b0906
sea: fix memory leak detected by asan
RaisinTen Apr 3, 2023
b1d6a15
tools: add a at here tag for slack messages
debadree25 Apr 1, 2023
9c975f7
tools: use ref_name to get branch pushed on
debadree25 Apr 1, 2023
bbde68e
src: remove unused variable in crypto_x509.cc
targos Apr 3, 2023
f8511e0
doc: clarify reports are only evaluated on active versions
RafaelGSS Apr 3, 2023
760e13c
tools: ensure failed daily wpt run still generates a report
panva Apr 2, 2023
d243115
url: improve URLSearchParams creation performance
anonrig Apr 3, 2023
4b4336c
test: verify tracePromise does not do runStores
Qard Apr 3, 2023
a738164
lib: define Event.isTrusted in the prototype
santigimeno Apr 3, 2023
2cea7d8
benchmark: fix invalid requirementsURL
deokjinkim Apr 3, 2023
eb837ce
test_runner: stringify AssertError expected and actual
MoLow Apr 4, 2023
463361e
test_runner: hide failing tests title when all tests pass
MoLow Apr 2, 2023
bc6511a
test_runner: color errors only when colors are available
MoLow Apr 3, 2023
40be01b
deps: update simdutf to 3.2.3
nodejs-github-bot Apr 4, 2023
130420b
test: run doctool tests in parallel
joyeecheung Mar 27, 2023
9dc6aef
build: bump github/codeql-action from 2.2.6 to 2.2.9
dependabot[bot] Apr 4, 2023
0bbce03
doc: add a note about os.cpus() returning an empty list
codedokode Apr 1, 2023
041885e
test: use --port=0 in debugger tests that do not have to work on 9229
joyeecheung Mar 27, 2023
db95ed0
test: move debugger tests with --port=0 to parallel
joyeecheung Mar 27, 2023
4405fc8
src: use stricter compile-time guidance
tniessen Apr 4, 2023
8eceaae
test: fix flaky test-watch-mode-inspect
MoLow Apr 4, 2023
75669e9
watch: fix watch path with equals
MoLow Apr 5, 2023
0695151
src: remove usage of `std::shared_ptr<T>::unique()`
RaisinTen Mar 30, 2023
a65fe5c
tools: fix update-openssl.yml compare version
marco-ippolito Apr 5, 2023
30c043c
deps: update timezone to 2023b
nodejs-github-bot Mar 28, 2023
8e1e9ed
deps: update timezone to 2023c
nodejs-github-bot Mar 31, 2023
8085bcf
2023-04-10, Version 19.9.0 (Current)
RafaelGSS Apr 6, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
label: How often does it reproduce? Is there a required condition?
- type: textarea
attributes:
label: What is the expected behavior?
label: What is the expected behavior? Why is that the expected behavior?
description: If possible please provide textual output instead of screenshots.
- type: textarea
attributes:
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 @@ -46,12 +46,12 @@ jobs:
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false

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

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -57,25 +57,25 @@ jobs:
mkdir tarballs
mv *.tar.gz tarballs
- name: Upload tarball artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: tarballs
path: tarballs
test-tarball-linux:
needs: build-tarball
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Download tarball
uses: actions/download-artifact@v3
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: tarballs
path: tarballs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stalled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/comment-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ env:
This issue/PR was marked as stalled, it will be automatically closed in 30 days.
If it should remain open, please leave a comment explaining why it should remain open.
FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve.
NOTABLE_CHANGE_MESSAGE: |
The https://github.com/nodejs/node/labels/notable-change label has been added by @${{ github.actor }}.

Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment.

permissions:
contents: read
Expand Down Expand Up @@ -38,3 +42,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$FAST_TRACK_MESSAGE"

notable-change:
permissions:
pull-requests: write
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'notable-change'
runs-on: ubuntu-latest
steps:
- name: Add notable change description
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$NOTABLE_CHANGE_MESSAGE"
4 changes: 2 additions & 2 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
run: |
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
if: needs.get_mergeable_prs.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
Expand All @@ -71,7 +71,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install node-core-utils
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -64,6 +64,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
directory: ./coverage
6 changes: 3 additions & 3 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand All @@ -65,6 +65,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
with:
directory: ./coverage
14 changes: 8 additions & 6 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@v4
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.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@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand All @@ -57,7 +57,7 @@ jobs:
SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
- name: Checkout ${{ steps.setup-node.outputs.node-version }}
uses: actions/checkout@v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
Expand All @@ -73,7 +73,7 @@ jobs:
run: rm -rf wpt
working-directory: test/fixtures
- name: Checkout epochs/daily WPT
uses: actions/checkout@v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
repository: web-platform-tests/wpt
persist-credentials: false
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
run: cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
- name: Upload GitHub Actions artifact
if: ${{ env.WPT_REPORT != '' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
path: out/wpt/wptreport-*.json
name: WPT Reports
Expand All @@ -135,6 +135,8 @@ jobs:
run: |
gzip wptreport.json
echo "## Node.js ${{ steps.setup-node.outputs.node-version }}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "WPT Revision: [\`${WPT_REVISION:0:7}\`](https://github.com/web-platform-tests/wpt/commits/$WPT_REVISION)" >> $GITHUB_STEP_SUMMARY
for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
do
response=$(curl -sS \
Expand All @@ -148,7 +150,7 @@ jobs:
origin=${WPT_FYI_ENDPOINT%/api/results/upload}

echo "" >> $GITHUB_STEP_SUMMARY
echo "Run ID [$run_id]($origin/api/runs/$run_id) added to the processor queue at $origin" >> $GITHUB_STEP_SUMMARY
echo "Run ID [\`$run_id\`]($origin/api/runs/$run_id) added to the processor queue at ${origin:8}" >> $GITHUB_STEP_SUMMARY
echo "- [View on the ${origin:8} dashboard]($origin/results?run_id=$run_id)" >> $GITHUB_STEP_SUMMARY
fi
done
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
# not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570
container: gcc:11
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: NODE=$(command -v node) make doc-only
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: docs
path: out/doc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/find-inactive-collaborators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
fetch-depth: 0
persist-credentials: false

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

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/find-inactive-tsc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Find inactive TSC members
name: Find inactive TSC voting members

on:
schedule:
Expand All @@ -20,25 +20,25 @@ jobs:

steps:
- name: Checkout the repo
uses: actions/checkout@v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
fetch-depth: 0
persist-credentials: false

- name: Clone nodejs/TSC repository
uses: actions/checkout@v3
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
fetch-depth: 0
path: .tmp
persist-credentials: false
repository: nodejs/TSC

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

- name: Find inactive TSC members
- name: Find inactive TSC voting members
run: tools/find-inactive-tsc.mjs >> $GITHUB_ENV

- name: Open pull request
Expand All @@ -56,6 +56,6 @@ jobs:
@nodejs/tsc ${{ env.INACTIVE_TSC_HANDLES }}

${{ env.DETAILS_FOR_COMMIT_BODY }}
commit-message: 'meta: move one or more TSC members to emeritus'
commit-message: 'meta: move TSC voting member(s) to regular member(s)'
labels: meta
title: 'meta: move one or more TSC members to emeritus'
title: 'meta: move TSC voting member(s) to regular member(s)'
2 changes: 1 addition & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: nodejs/node-pr-labeler@v1
- uses: nodejs/node-pr-labeler@d4cf1b8b9f23189c37917000e5e17e796c770a6b # v1
with:
repo-token: ${{ secrets.GH_USER_TOKEN }}
configuration-path: .github/label-pr-config.yml
2 changes: 1 addition & 1 deletion .github/workflows/license-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
persist-credentials: false
- run: ./tools/license-builder.sh # Run the license builder tool
Expand Down
Loading