Skip to content

Commit

Permalink
Merge pull request #22 from browserstack/upgrade-nodev16
Browse files Browse the repository at this point in the history
Upgrade node v16
  • Loading branch information
karanshah-browserstack authored Mar 31, 2023
2 parents 00ce173 + 509bed7 commit 63b648e
Show file tree
Hide file tree
Showing 9 changed files with 9,421 additions and 19 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/setup-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- 'setup-env/**'
- '.github/workflows/setup-env*'


jobs:
unit-tests:
Expand All @@ -17,12 +17,14 @@ jobs:
matrix:
operating-system: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set Node.js 12.x
- name: Set Node.js 16.x
uses: actions/setup-node@master
with:
node-version: 12.x
node-version: 16.x
cache: 'npm'
cache-dependency-path: 'setup-env/package-lock.json'

- name: npm install
working-directory: ./setup-env
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/setup-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- 'setup-local/**'
- '.github/workflows/setup-local*'


jobs:
unit-tests:
Expand All @@ -17,12 +17,14 @@ jobs:
matrix:
operating-system: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set Node.js 12.x
- name: Set Node.js 16.x
uses: actions/setup-node@master
with:
node-version: 12.x
node-version: 16.x
cache: 'npm'
cache-dependency-path: 'setup-local/package-lock.json'

- name: npm install
working-directory: ./setup-local
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
description: 'Project name for the tests'
required: false
runs:
using: 'node12'
using: 'node16'
main: 'setup-env/dist/index.js'
branding:
icon: 'check-circle'
Expand Down
2 changes: 1 addition & 1 deletion setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ inputs:
description: 'Project name for the tests'
required: false
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 63b648e

Please sign in to comment.