Skip to content

Commit 63fccea

Browse files
fix: set front-end to Node v20, fix use of ts-node
1 parent 5c10eea commit 63fccea

File tree

13 files changed

+26
-21
lines changed

13 files changed

+26
-21
lines changed

.github/workflows/deploy-preview-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
uses: pnpm/action-setup@v2
2222
with:
2323
version: 8
24-
- name: Setup Node v18.x
24+
- name: Setup Node
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 18
27+
node-version-file: './web/.node-version'
2828
- name: Restore node_modules for web
2929
id: cache-web
3030
uses: actions/cache@v3

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
uses: pnpm/action-setup@v2
1818
with:
1919
version: 8
20-
- name: Setup Node v18.x
20+
- name: Setup Node
2121
uses: actions/setup-node@v3
2222
with:
23-
node-version: 18
23+
node-version-file: './web/.node-version'
2424
- name: Restore node_modules for web
2525
id: cache-web
2626
uses: actions/cache@v3

.github/workflows/eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
uses: pnpm/action-setup@v2
2222
with:
2323
version: 8
24-
- name: Setup Node v18.x
24+
- name: Setup Node
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 18
27+
node-version-file: './web/.node-version'
2828
- name: Restore node_modules for web
2929
id: cache-web
3030
uses: actions/cache@v3

.github/workflows/jsonlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
14-
- name: Setup Node LTS
14+
- name: Setup Node
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
17+
node-version-file: './web/.node-version'
1818
- name: Install jsonlint-mod
1919
run: |
2020
npm install -g jsonlint-mod

.github/workflows/prettier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
uses: pnpm/action-setup@v2
1616
with:
1717
version: 8
18-
- name: Setup Node v18.x
18+
- name: Setup Node
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 18
21+
node-version-file: './web/.node-version'
2222
- name: Restore node_modules for web
2323
id: cache-web
2424
uses: actions/cache@v3

.github/workflows/typecheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
uses: pnpm/action-setup@v2
1717
with:
1818
version: 8
19-
- name: Setup Node v18.x
19+
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version-file: './web/.node-version'
2323
- name: Restore node_modules for web
2424
id: cache-web
2525
uses: actions/cache@v3

.github/workflows/unit_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
uses: pnpm/action-setup@v2
1717
with:
1818
version: 8
19-
- name: Setup Node v18.x
19+
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version-file: './web/.node-version'
2323
- name: Restore node_modules for web
2424
id: cache-web
2525
uses: actions/cache@v3

.github/workflows/validate_generate_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
uses: pnpm/action-setup@v2
1717
with:
1818
version: 8
19-
- name: Setup Node v18.x
19+
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version-file: './web/.node-version'
2323
- name: Restore node_modules for web
2424
id: cache-web
2525
uses: actions/cache@v3

.github/workflows/validate_generated_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
uses: pnpm/action-setup@v2
1717
with:
1818
version: 8
19-
- name: Setup Node v18.x
19+
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18
22+
node-version-file: './web/.node-version'
2323
- name: Restore node_modules
2424
id: cache
2525
uses: actions/cache@v3

mockserver/.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

0 commit comments

Comments
 (0)