File tree Expand file tree Collapse file tree 8 files changed +12
-15
lines changed Expand file tree Collapse file tree 8 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 4
4
"name" : " Azure Search OpenAI Js" ,
5
5
6
6
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
7
- "image" : " mcr.microsoft.com/devcontainers/javascript-node:18-bullseye " ,
7
+ "image" : " mcr.microsoft.com/devcontainers/javascript-node:22-bookworm " ,
8
8
9
9
// Features to add to the dev container. More info: https://containers.dev/features.
10
10
"features" : {
11
- "ghcr.io/devcontainers/features/node:1" : {
12
- "version" : " 18"
13
- },
14
11
"ghcr.io/devcontainers/features/docker-in-docker:2" : {
15
12
"version" : 20 ,
16
13
"moby" : " false"
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ jobs:
31
31
uses : actions/checkout@v4
32
32
33
33
- name : Install azd
34
- uses : Azure/setup-azd@v0.1.0
34
+ uses : Azure/setup-azd@v2
35
35
36
36
- name : Install Nodejs
37
37
uses : actions/setup-node@v4
38
38
with :
39
- node-version : 18
39
+ node-version : 20
40
40
41
41
- name : Log in with Azure (Federated Credentials)
42
42
if : ${{ env.AZURE_CLIENT_ID != '' }}
Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
platform : [ubuntu-latest, macos-latest, windows-latest]
17
- node-version : ['18 ']
17
+ node-version : ['20 ']
18
18
19
19
name : ${{ matrix.platform }} / Node.js v${{ matrix.node-version }}
20
20
runs-on : ${{ matrix.platform }}
Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v4
13
13
- uses : actions/setup-node@v4
14
14
with :
15
- node-version : 18
15
+ node-version : 20
16
16
- name : Install dependencies
17
17
run : npm ci
18
18
- name : Install Playwright Browsers
Original file line number Diff line number Diff line change 1
- 18
1
+ 20
Original file line number Diff line number Diff line change 43
43
"tap" : " ^18.5.2"
44
44
},
45
45
"engines" : {
46
- "node" : " >=18 " ,
47
- "npm" : " >=9 "
46
+ "node" : " >=20 " ,
47
+ "npm" : " >=10 "
48
48
},
49
49
"simple-git-hooks" : {
50
50
"pre-commit" : " npx lint-staged"
Original file line number Diff line number Diff line change 2
2
3
3
# Build Node.js app
4
4
# ------------------------------------
5
- FROM node:18 -alpine as build
5
+ FROM node:20 -alpine as build
6
6
WORKDIR /app
7
7
COPY ./package*.json ./
8
8
COPY ./packages/indexer ./packages/indexer
@@ -11,7 +11,7 @@ RUN npm run build --workspace=indexer
11
11
12
12
# Run Node.js app
13
13
# ------------------------------------
14
- FROM node:18 -alpine
14
+ FROM node:20 -alpine
15
15
ENV NODE_ENV=production
16
16
17
17
WORKDIR /app
Original file line number Diff line number Diff line change 2
2
3
3
# Build Node.js app
4
4
# ------------------------------------
5
- FROM node:18 -alpine as build
5
+ FROM node:20 -alpine as build
6
6
WORKDIR /app
7
7
COPY ./package*.json ./
8
8
COPY ./packages/search ./packages/search
@@ -11,7 +11,7 @@ RUN npm run build --workspace=search
11
11
12
12
# Run Node.js app
13
13
# ------------------------------------
14
- FROM node:18 -alpine
14
+ FROM node:20 -alpine
15
15
ENV NODE_ENV=production
16
16
17
17
WORKDIR /app
You can’t perform that action at this time.
0 commit comments