Skip to content

Commit

Permalink
[deps] Upgrade node and pnpm, other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario committed Dec 16, 2024
1 parent 00a85ff commit 5a341c1
Show file tree
Hide file tree
Showing 20 changed files with 8,448 additions and 6,921 deletions.
4 changes: 2 additions & 2 deletions .github/actions/run-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Run package install and build
- run: pnpm install --frozen-lockfile && pnpm build
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/run-check-version/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Run version check
- run: pnpm check-version
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/run-examples/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Run package install. If install fails, it probably means the updated lockfile was
# not included in the commit.
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/run-fmt/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Verify that the format is correct
- run: pnpm install --frozen-lockfile && pnpm _fmt --check
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/run-lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Run eslint
- run: pnpm install --frozen-lockfile && pnpm lint
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/run-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ runs:
using: composite
steps:
# Install node and pnpm.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 8.9.0
version: 9.15.0

# Run package install. If install fails, it probably means the updated lockfile was
# not included in the commit.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-build
2 changes: 1 addition & 1 deletion .github/workflows/run-check-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-check-version
2 changes: 1 addition & 1 deletion .github/workflows/run-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-examples
2 changes: 1 addition & 1 deletion .github/workflows/run-fmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-fmt
2 changes: 1 addition & 1 deletion .github/workflows/run-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-lint
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.GIT_SHA }}
- uses: ./.github/actions/run-tests
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22.11.0
v22.12bbc.0
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pnpm 9.15.0
nodejs 22.12.0
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T

# Unreleased

- Upgrades pnpm and node support, to support only more modern versions.
- Updates Github support for latest actions
- Overrides cross-spawn
- We now throw an error earlier when you try to use the faucet with testnet or mainnet, rather than letting the call happen and then fail later.

# 1.33.1 (2024-11-28)
Expand Down
Loading

0 comments on commit 5a341c1

Please sign in to comment.