Skip to content

Commit

Permalink
Use env variable for node version function test
Browse files Browse the repository at this point in the history
  • Loading branch information
emyl3 committed Aug 16, 2024
1 parent 90b518a commit 546e1ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:
cancel-in-progress: true

env:
FUNCTION_APP_NODE_VERSION: 20
NODE_VERSION: 22
JAVA_VERSION: 17
JAVA_DISTRIBUTION: 'zulu'
Expand Down Expand Up @@ -99,10 +100,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
- name: Use Node.js ${{ env.FUNCTION_APP_NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: ${{ env.FUNCTION_APP_NODE_VERSION }
- name: "Function Apps: yarn install"
working-directory: ./ops/services/app_functions/report_stream_batched_publisher/functions
run: yarn
Expand Down

0 comments on commit 546e1ae

Please sign in to comment.