Skip to content

Commit 903672a

Browse files
wemeetagaintwoethsjeluardnflaigmatthewkeil
authored
chore: release v1.19.0 (#6854)
* chore: n-historical state - track state persist count per epoch (#6699) * feat: add lodestar binaries to release (#6666) * feat: added binaries creation support * feat: added sanity checks * chore: define reusable workflow * chore: fix sanity check,; disable arm64 * chore: added workflow_dispatch * fix: needs cleanup * chore: update old space size Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: address comments * chore: fixed typo * chore: typo Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: wording Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: use frozen lock file Co-authored-by: Nico Flaig <nflaig@protonmail.com> --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: switch bls to napi rebuild (#6616) * chore: update package.json deps and run yarn * feat: remove unused blst config from vitest.browser.*.config.ts * test: move G2@INF test to base blst repo. No longer exported. * fix: add Uint8Array.from for Buffer return value in unit test so type matches for toEqual * refactor: update imports of CoordType to use bls instead of blst * feat: add blsAddVerificationRandomness cli option * feat: add randomBytesNonZero to utils * feat: implement verification randomness for same message * feat: implement napi blst and switch to libuv worker pool * chore: lint * fix: update comments for availableParallelism * feat: set UV_THREADPOOL_SIZE for perf tests * feat: set UV_THREADPOOL_SIZE=$(nproc) in lodestar entrance script * feat: remove case for serialized PublicKey in deserializeSet * feat: add back workBusy count logic to canAcceptWork * feat: automatically set threadpool size in beaconHandler * refactor: rename flag to disableSameMessageVerificationRandomness * fix: remove UV_THREADPOOL_SIZE from ./lodestar * docs: add TODO about updating metrics * fix: make benchmark multi threading cross-compatible * chore: add bls@8.0.0 * feat: default to added randomness * feat: add warning for no same message randomness * fix: passing to updated bls functions * feat: add blst peerDep * fix: default to same message randomness * chore: update yarn.lock * chore: remove unused function to clear lint * feat: break out setThreadPoolSize * docs: update packages/cli/src/cmds/beacon/setThreadPoolSize.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: update location for blst dep * chore: run lint again * fix: remove peerDep from light-client * test: fix browser based tests * fix: bad relative imports * docs: add note to readme about switchable bls * docs: typo * chore: lint readme * fix: light-client unit tests * fix: light-client e2e test * feat: remove disableSameMessageVerificationRandomness * refactor: remove unused type * docs: update wordlist * fix: e2e tests * Lint package.json * Revert "fix: e2e tests" This reverts commit f71acd7. * Revert "fix: light-client e2e test" This reverts commit 23c11f0. * Revert "fix: light-client unit tests" This reverts commit fa7893e. * Revert "test: fix browser based tests" This reverts commit 98d04ab. * docs: update readme to remove switchable bls argument * fix: replace optimizeDeps in vitest.browser.config * chore: updated to bls 8.1.0 * feat: move setting threadpool size and warnings to applyPreset.ts * fix: remove setThreadpoolSize from beacon handler * feat: move libuv size logging into handler to use logger * refactor: rename applyPreset to preInitialization * refactor: logging about pool size * Update packages/cli/src/options/globalOptions.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * refactor: rename prover applyPreset * docs: change comment in cli/index * fix: update logging for * fix: throw error for invalid uvThreadpoolSize * Update packages/cli/src/preInitialization.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Fix lint issues * Remove unused import * refactor: move bls pool logging back to multithread.ts * fix: log of threadcount --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: update references to consensus spec to v1.4.0 (#6704) * chore: update references to consensus spec to v1.4.0 * Remove unintended formatting changes * chore: update consensus spec version in README (#6705) * docs: correct plausible url (#6709) fix: correct plausible url * docs: incorrect scripts location (#6710) fix: incorrect scripts location * docs: no more broken images (#6708) * fix: no more broken images * fix: incorrect paths * feat: check aggregationBits length of `SignedAggregateAndProof` in gossip validation (#6700) * Add unit test * Update packages/beacon-node/src/chain/validation/aggregateAndProof.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: add and track blob source for metrics (#6628) * feat: add and track blob source for metrics * adding blobsSource for blobsPromise * address feedback * apply feedback * updates * only allow non blobspromise blocks to be imported * feat: add support for browser bundle for lightclient (#6673) * Reorganize the code so it is accessible from one package * Add support for browser build for lightclient * Update the build config * Improve the bls vite plugin * Restructure the vite and vitest scripts * Simplify vite config * Remove unused polyfill * Fix the doc lint error * Add support for bundle test * Update the package json files * Add dist build to default build task * Fix spelling in the docs * Fix the lint error * Fix type error * Disable eslint errors * Increase the timeout for bundle test * Fix eslint bundle * Fix lint warning * Remove the unused config * Add the default export to bundle * Enable compression on th build * Update packages/light-client/README.md Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Increase timeout for one test * Optimize package build task * Update the readme --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * docs: fix plausible domain (#6712) * ci: add paths-ignore to workflows (#6713) * chore: added paths-ignore * chore: address comments * feat: add arm64 binary support (#6707) * feat: add arm64 binary support * chore: workaround yarn * chore: add comment * chore: workaround runner limitations * ci: publish binaries for release candidates (#6714) * feat: add types support to esm bundle for lightclient (#6685) * Add vite dts plugin * Restructure types export * Update vite build config * Remove unused file * Update the build process * Fix doc formatting * Build the dist for type tests * chore: update vitest (#6718) Update vitest * chore: do not build all binaries atomically (#6719) * feat: update libp2p deps (#6711) * feat: update libp2p deps * chore: fix linter/type errors * chore(deps): bump ejs from 3.1.9 to 3.1.10 (#6721) Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](mde/ejs@v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: revert "ci: add paths-ignore to workflows (#6713)" (#6730) Revert "ci: add paths-ignore to workflows (#6713)" This reverts commit e460bb1. * docs: restore docs pages lost during docusaurus migration (#6725) * ci: fix incorrect build caching (#6731) fix: incorrect build caching * fix: build error log during esm bundle build (#6737) Fix build error * chore: update fastify to v4.27.0 (#6740) * deps: upgrade vitest minor version (#6745) Upgrade vitest * chore: warn when heap limit is too low (#6722) * chore: warn when heap limit is too low * chore: units Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: added faq element * chore: address comments Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: disable flood publish (#6755) * feat: disable flood publish * feat: add network.disableFloodPublish cli flag * chore: address PR comments * test: allow compact diff for test failures (#6783) * Allow the compact diff for tests * Update the doc * Update docs/pages/contribution/testing/index.md Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix linting on docs * Fix linting --------- Co-authored-by: Julien <jeluard@users.noreply.github.com> * chore: upgrade classic-level (#6793) * chore: upgrade classic-level * chore: address comments * feat(prover): support non-mutated verification provider in prover (#6727) * Restructure the assertions * Add an inspector to run the logic to detect providers * Update web3 provdier logic to use inspetor * Fix the types for proxy * Make the default type for mutation * Rename elrpc to elrpcprovider * Apply suggestions from code review Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix build error * Update the readme doc * Apply suggestions from code review Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix the docs linting * Add missing words --------- Co-authored-by: Julien <jeluard@users.noreply.github.com> * docs: added debugging section (#6743) * docs: added debugging section * chore: spell checks * chore: added extra docs * chore: address comments * chore: added extra configuration * chore: updated docs * chore: added extra configuration * chore: fix lint * chore: fix typos * chore: .gitignore * chore: address comments * chore: address comments * chore: review debugging section PR (#6807) * chore: update the naming conventions used in sim tests (#6805) * Rename simulation test to crucible * Rename SimulationEnvironment to Simulation * Use consistent function names * Update readme * Rename interfaces for consistent pattern * Fix lint error * feat: recognize grandine from agentVersion (#6808) * Add grandine * add grandine to wordlist * chore: refactor event loop interactions (#6806) * chore: refactor sleep(0) usage * chore: refactor setTimeout * chore: address comments * chore: cleanup * Apply suggestions from code review --------- Co-authored-by: Cayman <caymannava@gmail.com> * chore: fix broken docker (#6813) * chore: log newPayload engine api (#6810) * chore: add `get_proposer_head` check in fork choice spec test (#6814) * Check get_proposer_head * Fix enum typo * lint * chore: consolidate classic-level usage (#6795) * chore: do not rely on leveldown * chore: replace level with classic-level * chore: added docker support for osx (#6696) * chore: added docker support for osx * chore: address comments * chore: address comments * Update docker-compose.yml Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: fix vitest performance with spec tests artifacts in place (#6817) Fix vitest performance with spec tests in place * chore: clean up yarn lockfile (#6816) * feat: disable flood publish by default (#6815) * feat: use @chainsafe/blst directly (#6706) * feat: use @chainsafe/blst directly * chore: update to blst@1.0.1 * refactor: remove randomBytesNonZero and user blst exported version * chore: update blst references * test: catch invalid deserialization in spec tests and return false * feat: create signatureFromBytes and signatureFromBytesNoCheck in utils package * feat: implement signatureFromBytes from utils package * feat: implement signatureFromBytes everywhere * fix: light-client empty module for blst --------- Co-authored-by: matthewkeil <me@matthewkeil.com> * fix: avoid Buffer.from copies (#6723) * fix: avoid Buffer.from copies * chore: simplify shuffling * fix: use subarray instead of slice in shuffling * chore: remove unnecessary devDependencies * chore: rely on fastify 4.x behavior * chore: avoid copy in verifyMerkleBranch * use toBase64 * relax assertions in shuffle function * Update packages/state-transition/src/util/shuffle.ts Co-authored-by: twoeths <tuyen@chainsafe.io> --------- Co-authored-by: twoeths <tuyen@chainsafe.io> * chore: update nodejs to latest 22 (#6729) * Upgrade node js version to 22 * Update node types * Revert action config * Add package from git hash * Fix the build error * Update the docs for node-22 * Update docker version for Nodejs to 22 * Update package.json * Update package.json Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Update readme docs * Add word in dictionary * Add word in dictionary --------- Co-authored-by: Cayman <caymannava@gmail.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com> * deps: update systeminformation to 5.22.9 (#6823) * chore: add distutils to build phase of Dockerfile (#6845) * test: increase timeout of keystore tests (#6846) * test: increase timeout of keystore cache tests * Increase hook timeout * Consistent number formatting * chore: only log warning if media type is not supported (415) (#6847) * fix: revert napi bls (#6853) * Revert "feat: use @chainsafe/blst directly (#6706)" This reverts commit 66fe753. * Revert "feat: switch bls to napi rebuild (#6616)" This reverts commit 97d9aa8. * chore: bump package versions to 1.19.0 * chore: bump @chainsafe/blst to v0.2.11 (#6856) * fix: arm64 binaries creation issue (#6858) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tuyennhv <tuyen@chainsafe.io> Co-authored-by: Julien <jeluard@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com> Co-authored-by: Matthew Keil <me@matthewkeil.com> Co-authored-by: NC <adrninistrator1@protonmail.com> Co-authored-by: g11tech <develop@g11tech.io> Co-authored-by: Nazar Hussain <nazarhussain@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent eefb711 commit 903672a

File tree

255 files changed

+3060
-1796
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+3060
-1796
lines changed

.devcontainer/devcontainer.json

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
{
44
"name": "Node.js & TypeScript",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
// Upgrade the container to Node 22
7+
// https://github.com/ChainSafe/lodestar/issues/6742
68
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
79
"features": {
810
"ghcr.io/devcontainers/features/python:1": {}

.eslintrc.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,14 @@ module.exports = {
194194
},
195195
overrides: [
196196
{
197-
files: ["**/*.config.js", "**/*.config.mjs", "**/*.config.cjs", "**/*.config.ts"],
197+
files: [
198+
"**/*.config.js",
199+
"**/*.config.mjs",
200+
"**/*.config.cjs",
201+
"**/*.config.ts",
202+
"scripts/vitest/**/*.ts",
203+
"scripts/vite/**/*.ts",
204+
],
198205
rules: {
199206
"@typescript-eslint/naming-convention": "off",
200207
// Allow require in CJS modules

.github/actions/setup-and-build/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
lib/
3131
packages/*/lib
3232
packages/*/.git-data.json
33-
key: ${{ runner.os }}-node-${{ inputs.node }}-${{ github.sha }}
33+
key: ${{ runner.os }}-${{ runner.arch }}-node-${{ inputs.node }}-${{ github.sha }}
3434

3535
- name: Install & build
3636
if: steps.cache-build-restore.outputs.cache-hit != 'true'
@@ -55,4 +55,4 @@ runs:
5555
lib/
5656
packages/*/lib
5757
packages/*/.git-data.json
58-
key: ${{ runner.os }}-node-${{ inputs.node }}-${{ github.sha }}
58+
key: ${{ runner.os }}-${{ runner.arch }}-node-${{ inputs.node }}-${{ github.sha }}

.github/workflows/benchmark.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- uses: actions/setup-node@v4
3535
with:
36-
node-version: 20
36+
node-version: 22
3737
check-latest: true
3838
cache: yarn
3939
- name: Node.js version

.github/workflows/binaries.yml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Build binaries
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
required: true
8+
type: string
9+
workflow_call:
10+
inputs:
11+
version:
12+
required: true
13+
type: string
14+
15+
jobs:
16+
binaries:
17+
name: Build lodestar binaries
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
include:
22+
- os: ubuntu-latest
23+
platform: linux
24+
arch: amd64
25+
- os: lodestar-arm64-runner
26+
platform: linux
27+
arch: arm64
28+
runs-on: ${{matrix.os}}
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Install arm64 specifics
32+
if: matrix.arch == 'arm64'
33+
run: |-
34+
# Install missing yarn
35+
# See https://github.com/github-early-access/arm-runners-beta/issues/5
36+
curl -fsSL --create-dirs -o $HOME/bin/yarn \
37+
https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js
38+
chmod +x $HOME/bin/yarn
39+
echo "$HOME/bin" >> $GITHUB_PATH
40+
# Install missing build-essential
41+
sudo apt-get update
42+
sudo apt-get install -y build-essential python3
43+
- uses: "./.github/actions/setup-and-build"
44+
with:
45+
node: 22
46+
- run: |
47+
mkdir -p dist
48+
yarn global add caxa@3.0.1
49+
npx caxa -m "Unpacking Lodestar binary, please wait..." -e "dashboards/**" -e "docs/**" -D -p "yarn install --frozen-lockfile --production" --input . --output "lodestar" -- "{{caxa}}/node_modules/.bin/node" "--max-old-space-size=8192" "{{caxa}}/node_modules/.bin/lodestar"
50+
tar -czf "dist/lodestar-${{ inputs.version }}-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz" "lodestar"
51+
- name: Upload binaries
52+
uses: actions/upload-artifact@v4
53+
with:
54+
name: binaries-${{ matrix.os }}
55+
path: dist/
56+
if-no-files-found: error
57+
- name: Sanity check binary
58+
uses: actions/github-script@v7
59+
with:
60+
script: |
61+
exec.exec('./lodestar dev');
62+
await new Promise(resolve => setTimeout(resolve, 30000));
63+
const resp = await fetch('http://127.0.0.1:9596/eth/v1/node/version').catch(err => {
64+
core.setFailed(`Error accessing the API ${err}`);
65+
process.exit(1);
66+
});
67+
if (resp.status !== 200) {
68+
core.setFailed(`Failed to access API: ${resp.status}`);
69+
process.exit(1);
70+
}
71+
process.exit(0);

.github/workflows/docs-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919
cache: yarn
2020
- name: Node.js version
2121
id: node

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- uses: actions/setup-node@v4
3333
with:
34-
node-version: 20
34+
node-version: 22
3535
check-latest: true
3636
cache: yarn
3737

.github/workflows/publish-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 20
23+
node-version: 22
2424
registry-url: "https://registry.npmjs.org"
2525
check-latest: true
2626
cache: yarn

.github/workflows/publish-rc.yml

+17-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,17 @@ jobs:
4242
tag: ${{ steps.get_tag.outputs.tag }}
4343
prev_tag: ${{ steps.get_prev_tag.outputs.prev_tag }}
4444

45+
binaries:
46+
name: Build lodestar binaries
47+
uses: ./.github/workflows/binaries.yml
48+
needs: tag
49+
with:
50+
version: ${{ needs.tag.outputs.tag }}
51+
4552
npm:
4653
name: Publish to NPM & Github
4754
runs-on: buildjet-4vcpu-ubuntu-2204
48-
needs: tag
55+
needs: [tag, binaries]
4956
if: needs.tag.outputs.is_rc == 'true'
5057
steps:
5158
- uses: actions/checkout@v4
@@ -54,17 +61,25 @@ jobs:
5461

5562
- uses: "./.github/actions/setup-and-build"
5663
with:
57-
node: 20
64+
node: 22
5865

5966
- name: Generate changelog
6067
run: node scripts/generate_changelog.mjs ${{ needs.tag.outputs.prev_tag }} ${{ needs.tag.outputs.tag }} CHANGELOG.md
6168

69+
- name: Get binaries
70+
uses: actions/download-artifact@v4
71+
with:
72+
path: dist/
73+
merge-multiple: true
74+
6275
- name: Create Release
6376
id: create_release
6477
uses: softprops/action-gh-release@v2
6578
env:
6679
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6780
with:
81+
files: dist/*
82+
fail_on_unmatched_files: true
6883
tag_name: ${{ needs.tag.outputs.tag }}
6984
body_path: "CHANGELOG.md"
7085
name: Release ${{ needs.tag.outputs.tag }}

.github/workflows/publish-stable.yml

+17-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,17 @@ jobs:
4848
tag: ${{ steps.get_tag.outputs.tag }}
4949
prev_tag: ${{ steps.get_prev_tag.outputs.prev_tag }}
5050

51+
binaries:
52+
name: Build lodestar binaries
53+
uses: ./.github/workflows/binaries.yml
54+
needs: tag
55+
with:
56+
version: ${{ needs.tag.outputs.tag }}
57+
5158
npm:
5259
name: Publish to NPM & Github
5360
runs-on: buildjet-4vcpu-ubuntu-2204
54-
needs: tag
61+
needs: [tag, binaries]
5562
if: needs.tag.outputs.is_stable == 'true'
5663
steps:
5764
- uses: actions/checkout@v4
@@ -60,17 +67,25 @@ jobs:
6067

6168
- uses: "./.github/actions/setup-and-build"
6269
with:
63-
node: 20
70+
node: 22
6471

6572
- name: Generate changelog
6673
run: node scripts/generate_changelog.mjs ${{ needs.tag.outputs.prev_tag }} ${{ needs.tag.outputs.tag }} CHANGELOG.md
6774

75+
- name: Get binaries
76+
uses: actions/download-artifact@v4
77+
with:
78+
path: dist/
79+
merge-multiple: true
80+
6881
- name: Create Release
6982
id: create_release
7083
uses: softprops/action-gh-release@v2
7184
env:
7285
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7386
with:
87+
files: dist/*
88+
fail_on_unmatched_files: true
7489
tag_name: ${{ needs.tag.outputs.tag }}
7590
body_path: "CHANGELOG.md"
7691
name: Release ${{ needs.tag.outputs.tag }}

.github/workflows/test-sim-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-node@v4
3232
with:
33-
node-version: 20
33+
node-version: 22
3434
check-latest: true
3535
cache: yarn
3636
- name: Node.js version

.github/workflows/test-sim.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v4
3232
- uses: "./.github/actions/setup-and-build"
3333
with:
34-
node: 20
34+
node: 22
3535

3636
sim-test-multifork:
3737
name: Multifork sim test
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@v4
4343
- uses: "./.github/actions/setup-and-build"
4444
with:
45-
node: 20
45+
node: 22
4646
- name: Load env variables
4747
uses: ./.github/actions/dotenv
4848
- name: Download required docker images before running tests
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/checkout@v4
7272
- uses: "./.github/actions/setup-and-build"
7373
with:
74-
node: 20
74+
node: 22
7575
- name: Load env variables
7676
uses: ./.github/actions/dotenv
7777
- name: Download required docker images before running tests
@@ -100,7 +100,7 @@ jobs:
100100
- uses: actions/checkout@v4
101101
- uses: "./.github/actions/setup-and-build"
102102
with:
103-
node: 20
103+
node: 22
104104
- name: Load env variables
105105
uses: ./.github/actions/dotenv
106106
- name: Download required docker images before running tests
@@ -129,7 +129,7 @@ jobs:
129129
- uses: actions/checkout@v4
130130
- uses: "./.github/actions/setup-and-build"
131131
with:
132-
node: 20
132+
node: 22
133133
- name: Load env variables
134134
uses: ./.github/actions/dotenv
135135
- name: Download required docker images before running tests
@@ -158,7 +158,7 @@ jobs:
158158
- uses: actions/checkout@v4
159159
- uses: "./.github/actions/setup-and-build"
160160
with:
161-
node: 20
161+
node: 22
162162
- name: Load env variables
163163
uses: ./.github/actions/dotenv
164164
- name: Download required docker images before running tests

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
node: [20]
22+
node: [22]
2323
steps:
2424
# <common-build> - Uses YAML anchors in the future
2525
- uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
node: [20]
45+
node: [22]
4646
steps:
4747
- uses: actions/checkout@v4
4848
- uses: "./.github/actions/setup-and-build"
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
node: [20]
77+
node: [22]
7878
steps:
7979
- uses: actions/checkout@v4
8080

@@ -95,7 +95,7 @@ jobs:
9595
strategy:
9696
fail-fast: false
9797
matrix:
98-
node: [20]
98+
node: [22]
9999
steps:
100100
- uses: actions/checkout@v4
101101
- uses: "./.github/actions/setup-and-build"
@@ -134,7 +134,7 @@ jobs:
134134
strategy:
135135
fail-fast: false
136136
matrix:
137-
node: [20]
137+
node: [22]
138138
steps:
139139
# <common-build> - Uses YAML anchors in the future
140140
- uses: actions/checkout@v4
@@ -171,7 +171,7 @@ jobs:
171171
strategy:
172172
fail-fast: false
173173
matrix:
174-
node: [20]
174+
node: [22]
175175
steps:
176176
# <common-build> - Uses YAML anchors in the future
177177
- uses: actions/checkout@v4
@@ -195,7 +195,7 @@ jobs:
195195
strategy:
196196
fail-fast: false
197197
matrix:
198-
node: [20]
198+
node: [22]
199199
steps:
200200
- uses: actions/checkout@v4
201201
- uses: "./.github/actions/setup-and-build"

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.__testdb*
22
node_modules/
33
lib
4+
dist
45
.nyc_output/
56
coverage/**
67
.DS_Store
@@ -21,10 +22,13 @@ validators
2122
**/coverage
2223
**/node_modules
2324
**/lib
25+
**/dist
2426
**/.nyc_output
2527
.tmp
26-
.vscode
2728
.npmrc
29+
.vscode/launch.json
30+
.vscode/settings.json
31+
.vscode/tasks.json
2832

2933
# Tests artifacts
3034
packages/*/spec-tests*

.vscode/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copy `launch.template.json` as `launch.json` and adapt to your needs.
2+
3+
See [Debugging](../docs/pages/tools/debugging.md) for more details.

0 commit comments

Comments
 (0)