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

[deps] Upgrade node and pnpm, prep for a 2.x.x release #609

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.12.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
Loading