Skip to content

Commit

Permalink
Add node version as a var in gitlab ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinika committed Nov 7, 2024
1 parent 8821642 commit 217d723
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- migration-merge

variables:
NODE_VERSION: 22.11.0

jobs:
cache:
runs-on: ubuntu-latest
Expand All @@ -26,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0
node-version: $NODE_VERSION

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand All @@ -52,7 +55,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0
node-version: $NODE_VERSION

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -81,7 +84,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0
node-version: $NODE_VERSION

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -110,7 +113,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0
node-version: $NODE_VERSION

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -139,7 +142,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0
node-version: $NODE_VERSION

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 217d723

Please sign in to comment.