Skip to content

Commit d2580ab

Browse files
update nodejs version from 12 to 16 (#160)
Co-authored-by: Felipe Schmitt <[email protected]>
1 parent d4e7f5d commit d2580ab

23 files changed

+3278
-2920
lines changed

.github/workflows/run-e2e-tests-dotnet3-lcon.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27-
- name: Set Node.js 12.x for GitHub Action
27+
- name: Set Node.js 16.x for GitHub Action
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 12.x
30+
node-version: 16.x
3131

3232
- name: Run Npm Install for GitHub Action
3333
run: npm install

.github/workflows/run-e2e-tests-dotnet3-wcon.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27-
- name: Set Node.js 12.x for GitHub Action
27+
- name: Set Node.js 16.x for GitHub Action
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 12.x
30+
node-version: 16.x
3131

3232
- name: Run Npm Install for GitHub Action
3333
run: npm install

.github/workflows/run-e2e-tests-java8-lcon.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v2
2727

28-
- name: Set Node.js 12.x for GitHub Action
28+
- name: Set Node.js 16.x for GitHub Action
2929
uses: actions/setup-node@v1
3030
with:
31-
node-version: 12.x
31+
node-version: 16.x
3232

3333
- name: Run Npm Install for GitHub Action
3434
run: npm install

.github/workflows/run-e2e-tests-java8-wcon.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v2
2727

28-
- name: Set Node.js 12.x for GitHub Action
28+
- name: Set Node.js 16.x for GitHub Action
2929
uses: actions/setup-node@v1
3030
with:
31-
node-version: 12.x
31+
node-version: 16.x
3232

3333
- name: Run Npm Install for GitHub Action
3434
run: npm install

.github/workflows/run-e2e-tests-node12-lcon.yaml renamed to .github/workflows/run-e2e-tests-node16-lcon.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: RUN_E2E_TESTS_NODE12_LCON
1+
name: RUN_E2E_TESTS_NODE16_LCON
22
on:
33
push:
44
branches:
@@ -12,9 +12,9 @@ on:
1212
- '**.md'
1313

1414
env:
15-
AZURE_FUNCTIONAPP_NAME: gae-fa-node12-lcon
16-
AZURE_FUNCTIONAPP_PACKAGE_PATH: './tests/e2e/node12'
17-
NODE_VERSION: '12.x'
15+
AZURE_FUNCTIONAPP_NAME: gae-fa-node16-lcon
16+
AZURE_FUNCTIONAPP_PACKAGE_PATH: './tests/e2e/node16'
17+
NODE_VERSION: '16.x'
1818

1919
jobs:
2020
run:
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27-
- name: Set Node.js 12.x for GitHub Action
27+
- name: Set Node.js 16.x for GitHub Action
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 12.x
30+
node-version: 16.x
3131

3232
- name: Run Npm Install for GitHub Action
3333
run: npm install
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
5858
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
59-
publish-profile: ${{ secrets.GAE_FA_NODE12_LCON }}
59+
publish-profile: ${{ secrets.GAE_FA_NODE16_LCON }}
6060

6161
- name: E2E Check HttpTrigger Result
6262
shell: pwsh

.github/workflows/run-e2e-tests-node12-wcon.yaml renamed to .github/workflows/run-e2e-tests-node16-wcon.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: RUN_E2E_TESTS_NODE12_WCON
1+
name: RUN_E2E_TESTS_NODE16_WCON
22
on:
33
push:
44
branches:
@@ -12,9 +12,9 @@ on:
1212
- '**.md'
1313

1414
env:
15-
AZURE_FUNCTIONAPP_NAME: gae-fa-node12-wcon
16-
AZURE_FUNCTIONAPP_PACKAGE_PATH: './tests/e2e/node12'
17-
NODE_VERSION: '12.x'
15+
AZURE_FUNCTIONAPP_NAME: gae-fa-node16-wcon
16+
AZURE_FUNCTIONAPP_PACKAGE_PATH: './tests/e2e/node16'
17+
NODE_VERSION: '16.x'
1818

1919
jobs:
2020
run:
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27-
- name: Set Node.js 12.x for GitHub Action
27+
- name: Set Node.js 16.x for GitHub Action
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 12.x
30+
node-version: 16.x
3131

3232
- name: Run Npm Install for GitHub Action
3333
run: npm install
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
5858
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
59-
publish-profile: ${{ secrets.GAE_FA_NODE12_WCON }}
59+
publish-profile: ${{ secrets.GAE_FA_NODE16_WCON }}
6060

6161
- name: E2E Check HttpTrigger Result
6262
shell: pwsh

.github/workflows/run-e2e-tests-powershell6-wcon.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v2
2525

26-
- name: Set Node.js 12.x for GitHub Action
26+
- name: Set Node.js 16.x for GitHub Action
2727
uses: actions/setup-node@v1
2828
with:
29-
node-version: 12.x
29+
node-version: 16.x
3030

3131
- name: Run Npm Install for GitHub Action
3232
run: npm install

.github/workflows/run-e2e-tests-python37-lcon.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27+
- name: Set Node.js 16.x for GitHub Action
28+
uses: actions/setup-node@v1
29+
with:
30+
node-version: 16.x
31+
2732
- name: Setup Python ${{ env.PYTHON_VERSION }} Environment
2833
uses: actions/setup-python@v1
2934
with:
@@ -35,11 +40,6 @@ jobs:
3540
- name: Build GitHub Action
3641
run: npm run build
3742

38-
- name: E2E Setup Node ${{ env.NODE_VERSION }} Environment
39-
uses: actions/setup-node@v1
40-
with:
41-
node-version: ${{ env.NODE_VERSION }}
42-
4343
- name: E2E Resolve Project Dependencies Using Pip
4444
shell: bash
4545
run: |

.github/workflows/run-unit-tests.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,38 @@ on:
1111
- dev
1212

1313
env:
14-
NODE_VERSION: '10.x'
14+
NODE_VERSION: '16.x'
1515

1616
jobs:
1717
run-unit-tests:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: 'Checkout GitHub Action'
2121
uses: actions/checkout@master
22+
2223
- name: Setup Node ${{ env.NODE_VERSION }}
2324
uses: actions/setup-node@v1
2425
with:
2526
node-version: ${{ env.NODE_VERSION }}
27+
2628
- name: 'Resolve Project Dependencies Using NPM'
2729
shell: bash
2830
run: |
2931
npm install
32+
3033
- name: 'Run Unit Tests'
3134
shell: bash
3235
run: |
3336
set -e -x
3437
npm run test
38+
3539
- name: 'Report Coverage'
3640
shell: bash
3741
run: |
3842
set -e -x
3943
npm run coverage
4044
npm run coverage-report
45+
4146
- name: 'Upload Coverage Report to CodeCov'
4247
uses: codecov/[email protected]
4348
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
| .NETCore Linux | ![master .netcore linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_DOTNET3_LCON/badge.svg?branch=master) | ![dev .netcore linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_DOTNET3_LCON/badge.svg?branch=dev) |
99
| Java Windows | ![master java windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_JAVA8_WCON/badge.svg?branch=master) | ![dev java windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_JAVA8_WCON/badge.svg?branch=dev) |
1010
| Java Linux | ![master java linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_JAVA8_LCON/badge.svg?branch=master) | ![dev java linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_JAVA8_LCON/badge.svg?branch=dev) |
11-
| Node JS Windows | ![master nodejs windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE12_WCON/badge.svg?branch=master) | ![dev nodejs windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE12_WCON/badge.svg?branch=dev) |
12-
| Node JS Linux | ![master nodejs linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE12_LCON/badge.svg?branch=master) | ![dev nodejs linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE12_LCON/badge.svg?branch=dev) |
11+
| Node JS Windows | ![master nodejs windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE16_WCON/badge.svg?branch=master) | ![dev nodejs windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE16_WCON/badge.svg?branch=dev) |
12+
| Node JS Linux | ![master nodejs linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE16_LCON/badge.svg?branch=master) | ![dev nodejs linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_NODE16_LCON/badge.svg?branch=dev) |
1313
| PowerShell Windows | ![master powershell windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_POWERSHELL6_WCON/badge.svg?branch=master) | ![dev powershell windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_POWERSHELL6_WCON/badge.svg?branch=dev) |
1414
| Python Linux | ![master python linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_PYTHON37_LCON/badge.svg?branch=master) | ![dev python linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_PYTHON37_LCON/badge.svg?branch=dev) |
1515

0 commit comments

Comments
 (0)