Skip to content

Commit

Permalink
Fix github action to use node 14 as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
paularintaharri committed Apr 22, 2024
1 parent 2477b06 commit 5853d30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: "16.x"
NODE_VERSION: "14.x"

concurrency: production-environment

Expand All @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: ${{ env.NODE_VERSION }}
- uses: c-hive/gha-yarn-cache@v1
- run: yarn install --silent
- run: yarn test
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: ${{ env.NODE_VERSION }}
- name: yarn build
env:
# The license needs to present when building, so that the admin-ui is built as enterprise version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: "16.x"
NODE_VERSION: "14.x"

concurrency: testing-environment

Expand All @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: ${{ env.NODE_VERSION }}
- uses: c-hive/gha-yarn-cache@v1
- run: yarn install --silent
- run: yarn test
Expand Down

0 comments on commit 5853d30

Please sign in to comment.