Skip to content

Commit a3f140b

Browse files
Update dependency node to v22
1 parent b81a8e0 commit a3f140b

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/setup-node@v4
3333
with:
3434
cache: ${{ !env.ACT && 'npm' || '' }}
35-
node-version: "16.x"
35+
node-version: "22.x"
3636
- uses: ./
3737
- run: earthly +all
3838
# Below are tests specific to the github actions, which ensure the actions-setup code works with GHA
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/setup-node@v4
5050
with:
5151
cache: ${{ !env.ACT && 'npm' || '' }}
52-
node-version: "16.x"
52+
node-version: "22.x"
5353
- run: npm install
5454
- run: npm run package
5555
- uses: ./
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/setup-node@v4
6969
with:
7070
cache: ${{ !env.ACT && 'npm' || '' }}
71-
node-version: "16.x"
71+
node-version: "22.x"
7272
- run: npm install
7373
- run: npm run package
7474
- uses: ./
@@ -88,7 +88,7 @@ jobs:
8888
- uses: actions/setup-node@v4
8989
with:
9090
cache: ${{ !env.ACT && 'npm' || '' }}
91-
node-version: "16.x"
91+
node-version: "22.x"
9292
- run: npm install
9393
- run: npm run package
9494
- uses: ./
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions/setup-node@v4
109109
with:
110110
cache: ${{ !env.ACT && 'npm' || '' }}
111-
node-version: "16.x"
111+
node-version: "22.x"
112112
- run: npm install
113113
- run: npm run package
114114
- uses: ./

Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG EARTHLY_LIB_VERSION=3.0.1
66
IMPORT github.com/earthly/lib/utils/git:$EARTHLY_LIB_VERSION AS git
77

88
npm-base:
9-
FROM node:21.7-alpine3.19
9+
FROM node:22.12-alpine3.19
1010
COPY ./package.json ./
1111
COPY ./package-lock.json ./
1212
RUN npm install

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"semver": "^7.6.0"
3535
},
3636
"devDependencies": {
37-
"@types/node": "^20.11.30",
37+
"@types/node": "^22.0.0",
3838
"@types/semver": "^7.5.8",
3939
"@typescript-eslint/eslint-plugin": "^7.4.0",
4040
"@typescript-eslint/parser": "^7.4.0",

0 commit comments

Comments
 (0)