Skip to content

Commit 651723b

Browse files
ci: add variables for versions in CI
1 parent dc3305d commit 651723b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
env:
88
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
NODE_VERSION: "20"
910

1011
jobs:
1112
docker:
@@ -21,7 +22,7 @@ jobs:
2122
- name: Setup Nodejs
2223
uses: actions/setup-node@v4
2324
with:
24-
node-version: 20
25+
node-version: ${{ env.NODE_VERSION }}
2526

2627
- name: Install dependencies
2728
run: npm ci
@@ -101,7 +102,7 @@ jobs:
101102
- name: Setup Nodejs
102103
uses: actions/setup-node@v4
103104
with:
104-
node-version: 20
105+
node-version: ${{ env.NODE_VERSION }}
105106

106107
- name: Install dependencies
107108
run: npm ci

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
env:
1010
DB_VERSION: 1.1.0
1111
GO_VERSION: "1.24"
12-
NODE_VERSION: 20
12+
NODE_VERSION: "20"
1313

1414
concurrency:
1515
group: ci-${{ github.ref }}
@@ -89,7 +89,7 @@ jobs:
8989
- name: Setup Nodejs
9090
uses: actions/setup-node@v3
9191
with:
92-
node-version: 18
92+
node-version: ${{ env.NODE_VERSION }}
9393

9494
- name: Install Dependencies
9595
run: make tests

0 commit comments

Comments
 (0)