Skip to content

Commit ae70695

Browse files
authored
Update publisher image to nodejs22 (#1760)
* Update publisher image to nodejs22. Updates publisher image so we use nodejs22. The previous nodejs20 image we were using were too old, and rolldown (required for new package tooling tsdown) wasn't able to be installed. * remove optional dep requirement. * actually remove opt dep and specify node version more explicitly
1 parent 938ba9a commit ae70695

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
node-version:
20-
- 20.x
20+
- 22.x
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-node@v4
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- uses: actions/setup-node@v4
3535
with:
36-
node-version: 20.x
36+
node-version: 22.x
3737
cache: npm
3838
- run: npm ci
3939
- run: npm run build

package-lock.json

Lines changed: 1 addition & 3 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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@
338338
"express": "^4.21.0",
339339
"protobufjs": "^7.2.2"
340340
},
341-
"optionalDependencies": {
342-
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.45"
343-
},
344341
"devDependencies": {
345342
"@eslint/eslintrc": "^3.3.1",
346343
"@firebase/api-documenter": "^0.2.0",
@@ -393,4 +390,4 @@
393390
"engines": {
394391
"node": ">=18.0.0"
395392
}
396-
}
393+
}

scripts/publish-container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20
1+
FROM node:22.21.1
22

33
# Install dependencies
44
RUN apt-get update && \

0 commit comments

Comments
 (0)