Skip to content

Commit 8f442a4

Browse files
authored
fix format and update node version
1 parent 2b774f2 commit 8f442a4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/register-commands-staging.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 18.18.2
13+
node-version: 22.11.0
1414
- run: npm install
1515
- run: npm run env-var-check
1616
env:
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- uses: actions/setup-node@v4
3636
with:
37-
node-version: 18.18.2
37+
node-version: 22.11.0
3838
- run: npm install
3939
- run: npm run register
4040
env:

config/envVarCheck.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import { loadEnv } from "./config";
88
*/
99
export function validateEnv() {
1010
const env: env = loadEnv({}, false);
11-
const missingEnvVariables = Object.keys(env).filter(
12-
(key) => env[key] == ""
13-
);
11+
const missingEnvVariables = Object.keys(env).filter((key) => env[key] == "");
1412

1513
if (missingEnvVariables.length > 0) {
1614
throw new Error(

0 commit comments

Comments
 (0)