Skip to content

Commit f956fdd

Browse files
authored
[deps] Deprecate < node 20, upgrade CI deps (#610)
* [github] Upgrade v3 to v4 as v3 is deprecated for old actions * [deps] Update pnpm, node versions to newest minor version * [deps] Override cross spawn Overriding cross-spawn to >= 7.0.5 as per pnpm audit * [deps] Only specify PNPM engine in one place
1 parent e2c91c5 commit f956fdd

File tree

17 files changed

+233
-101
lines changed

17 files changed

+233
-101
lines changed

.github/actions/run-build/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ runs:
66
using: composite
77
steps:
88
# Install node and pnpm.
9-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v4
1010
with:
1111
node-version-file: .node-version
1212
registry-url: "https://registry.npmjs.org"
1313
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 8.9.0
1614

1715
# Run package install and build
1816
- run: pnpm install --frozen-lockfile && pnpm build

.github/actions/run-check-version/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ runs:
66
using: composite
77
steps:
88
# Install node and pnpm.
9-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v4
1010
with:
1111
node-version-file: .node-version
1212
registry-url: "https://registry.npmjs.org"
1313
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 8.9.0
1614

1715
# Run version check
1816
- run: pnpm check-version

.github/actions/run-examples/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ runs:
66
using: composite
77
steps:
88
# Install node and pnpm.
9-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v4
1010
with:
1111
node-version-file: .node-version
1212
registry-url: "https://registry.npmjs.org"
1313
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 8.9.0
1614

1715
# Run package install. If install fails, it probably means the updated lockfile was
1816
# not included in the commit.

.github/actions/run-fmt/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ runs:
66
using: composite
77
steps:
88
# Install node and pnpm.
9-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v4
1010
with:
1111
node-version-file: .node-version
1212
registry-url: "https://registry.npmjs.org"
1313
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 8.9.0
1614

1715
# Verify that the format is correct
1816
- run: pnpm install --frozen-lockfile && pnpm _fmt --check

.github/actions/run-lint/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ runs:
66
using: composite
77
steps:
88
# Install node and pnpm.
9-
- uses: actions/setup-node@v3
9+
- uses: actions/setup-node@v4
1010
with:
1111
node-version-file: .node-version
1212
registry-url: "https://registry.npmjs.org"
1313
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 8.9.0
1614

1715
# Run eslint
1816
- run: pnpm install --frozen-lockfile && pnpm lint

.github/actions/run-tests/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ runs:
99
using: composite
1010
steps:
1111
# Install node and pnpm.
12-
- uses: actions/setup-node@v3
12+
- uses: actions/setup-node@v4
1313
with:
1414
node-version-file: .node-version
1515
registry-url: "https://registry.npmjs.org"
1616
- uses: pnpm/action-setup@v4
17-
with:
18-
version: 8.9.0
1917

2018
# Run package install. If install fails, it probably means the updated lockfile was
2119
# not included in the commit.

.github/workflows/run-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
run-tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ env.GIT_SHA }}
1919
- uses: ./.github/actions/run-build

.github/workflows/run-check-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
run-tests:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
ref: ${{ env.GIT_SHA }}
2020
- uses: ./.github/actions/run-check-version

.github/workflows/run-examples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
run-tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ env.GIT_SHA }}
1919
- uses: ./.github/actions/run-examples

.github/workflows/run-fmt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
run-tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ env.GIT_SHA }}
1919
- uses: ./.github/actions/run-fmt

0 commit comments

Comments
 (0)