Skip to content

Commit 63b648e

Browse files
Merge pull request #22 from browserstack/upgrade-nodev16
Upgrade node v16
2 parents 00ce173 + 509bed7 commit 63b648e

File tree

9 files changed

+9421
-19
lines changed

9 files changed

+9421
-19
lines changed

.github/workflows/setup-env.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
paths:
99
- 'setup-env/**'
1010
- '.github/workflows/setup-env*'
11-
11+
1212

1313
jobs:
1414
unit-tests:
@@ -17,12 +17,14 @@ jobs:
1717
matrix:
1818
operating-system: [ubuntu-latest, macos-latest, windows-latest]
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121

22-
- name: Set Node.js 12.x
22+
- name: Set Node.js 16.x
2323
uses: actions/setup-node@master
2424
with:
25-
node-version: 12.x
25+
node-version: 16.x
26+
cache: 'npm'
27+
cache-dependency-path: 'setup-env/package-lock.json'
2628

2729
- name: npm install
2830
working-directory: ./setup-env

.github/workflows/setup-local.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
paths:
99
- 'setup-local/**'
1010
- '.github/workflows/setup-local*'
11-
11+
1212

1313
jobs:
1414
unit-tests:
@@ -17,12 +17,14 @@ jobs:
1717
matrix:
1818
operating-system: [ubuntu-latest, macos-latest, windows-latest]
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121

22-
- name: Set Node.js 12.x
22+
- name: Set Node.js 16.x
2323
uses: actions/setup-node@master
2424
with:
25-
node-version: 12.x
25+
node-version: 16.x
26+
cache: 'npm'
27+
cache-dependency-path: 'setup-local/package-lock.json'
2628

2729
- name: npm install
2830
working-directory: ./setup-local

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inputs:
1414
description: 'Project name for the tests'
1515
required: false
1616
runs:
17-
using: 'node12'
17+
using: 'node16'
1818
main: 'setup-env/dist/index.js'
1919
branding:
2020
icon: 'check-circle'

setup-env/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ inputs:
1414
description: 'Project name for the tests'
1515
required: false
1616
runs:
17-
using: 'node12'
17+
using: 'node16'
1818
main: 'dist/index.js'

0 commit comments

Comments
 (0)