Skip to content

Commit a87e634

Browse files
committed
bump node.js version to 20
1 parent fb37e35 commit a87e634

File tree

12 files changed

+14
-15
lines changed

12 files changed

+14
-15
lines changed

.github/workflows/actions/build-test-pack/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: 18
20+
node-version: 20
2121
cache: 'pnpm'
2222

2323
- name: Install dependencies

.github/workflows/android_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Node.js
2828
uses: actions/setup-node@v3
2929
with:
30-
node-version: 18
30+
node-version: 20
3131
cache: 'pnpm'
3232

3333
- name: Install dependencies

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Authier deploy
22
on:
33
push:
4-
branches: [production]
4+
branches: [main]
55

66
jobs:
77
deploy:
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version: 20
2323
cache: 'pnpm'
2424

2525
- name: Install dependencies

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Set up Node.js
6969
uses: actions/setup-node@v3
7070
with:
71-
node-version: 18
71+
node-version: 20
7272
cache: 'pnpm'
7373

7474
- name: Install dependencies

.github/workflows/publish-on-chrome-webstore.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
max = parseInt(env.maxAttempts);
3838
assert(attempt && max && max >= attempt);
3939
return attempt < max ? attempt + 1 : '';
40-
}
40+
}
4141
4242
- uses: actions/checkout@v2
4343

@@ -71,7 +71,7 @@ jobs:
7171
extensionId: ${{ secrets.G_EXTENSION_ID }}
7272
apiAccessToken: ${{ steps.fetchAccessToken.outputs.accessToken }}
7373
waitForUploadCheckCount: 10
74-
waitForUploadCheckIntervalMs: 180000 # 3 minutes
74+
waitForUploadCheckIntervalMs: 180000 # 3 minutes
7575

7676
# Schedule a next attempt if store refused to accept new version because it
7777
# still has a previous one in review
@@ -120,4 +120,3 @@ jobs:
120120
with:
121121
name: ${{ env.WEBSTORE_CRX_FILE_NAME }}
122122
path: ${{ env.WEBSTORE_CRX_FILE_PATH }}
123-

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.18
1+
v20

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:20-alpine
22

33
RUN apk update && apk upgrade && \
44
apk add --no-cache git

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ For now this happens manually. We cannot open source our stripe dashboard, but w
5656
## Contrib locs
5757

5858
For now we're running it manually every week.
59-
It needs to run in node 16, does not run in node 18, see this issue: https://github.com/nodegit/nodegit/issues/1980
59+
It needs to run in node 16, does not run in other node versions, see this issue: https://github.com/nodegit/nodegit/issues/1980
6060
TODO run contrib-locs with github CRON.

backend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine
1+
FROM node:20-alpine
22

33
RUN apk update && apk upgrade && \
44
apk add --no-cache git

backend/cdk/awsCdkAuthierStack.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class AwsCdkAuthierStack extends Stack {
1616
const backendApi = new lambda.Function(this, 'backend-api', {
1717
memorySize: 512,
1818
timeout: cdk.Duration.seconds(40),
19-
runtime: lambda.Runtime.NODEJS_18_X,
19+
runtime: lambda.Runtime.NODEJS_20_X,
2020
architecture: Architecture.ARM_64,
2121
handler: 'lambda.handler',
2222
code: lambda.Code.fromAsset(path.join(__dirname, '../dist')),

backend/scripts/bundleLambda.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import path from 'path'
1616
outfile: 'dist/lambda.js',
1717
external: ['@prisma/client', 'stripe'],
1818
platform: 'node',
19-
target: 'node18',
19+
target: 'node20',
2020
plugins: [
2121
esbuildDecorators({
2222
tsconfig: 'tsconfig.json',

mobile-app/.node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

0 commit comments

Comments
 (0)