diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca7101cf9..2bc41c75d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20.19.2 + node-version: 22.18.0 - run: yarn install - run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e2a9b3a77..12edc8ea6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20.19.2 + node-version: 22.18.0 - run: yarn install - run: yarn lint-check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91a782a04..d07de9392 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,16 +25,16 @@ jobs: id: release uses: manovotny/github-releases-for-automated-package-publishing-action@v2.0.1 - # Perform installs, run tests, run a build step, etc. here, as needed. - - run: yarn - # Setup .npmrc file to publish to npm - uses: actions/setup-node@v3 with: - node-version: "20.19.2" + node-version: "22.18" always-auth: true registry-url: "https://registry.npmjs.org" + # Perform installs, run tests, run a build step, etc. here, as needed. + - run: yarn + # The last two steps will publish the package. Note that we're using # information from the `release` step above (I told you we'd use it # later). Notice the `if` statements on both steps... diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e513e3430..85de9cf78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,7 @@ jobs: solana_version: ${{ steps.extract-versions.outputs.solana_version }} - uses: actions/setup-node@v3 with: - node-version: 20.19.2 + node-version: 22.18 - run: yarn install - run: yarn test env: diff --git a/package.json b/package.json index ebc19ba20..c4b14e01a 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "src" ], "engines": { - "node": ">=20.19.2" + "node": ">=22.18" }, "scripts": { "build-bigint-buffer": "node scripts/build-bigint-buffer.js",