Skip to content

Commit

Permalink
fix(node): github action set node version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
cgirani committed Oct 4, 2023
1 parent f3c6041 commit 977704b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codesandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ options: --privileged
uses: actions/setup-node@v1
if: steps.changes.outputs.react == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-node@v1
if: steps.changes.outputs.react == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-node@v1
if: steps.changes.outputs.react == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
uses: actions/setup-node@v1
if: steps.changes.outputs.react == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
uses: actions/setup-node@v1
if: steps.changes.outputs.react == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Download all workflow run artifacts
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
uses: actions/setup-node@v1
if: steps.changes.outputs.angular == 'true'
with:
node-version: '16.x'
node-version: '20.x'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
3 changes: 0 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"name": "carbon-addons-iot-react",
"engines": {
"node": "12.x || 14.x || 16.x || 18.x || 20.x"
},
"browser": "es/index.js",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down

0 comments on commit 977704b

Please sign in to comment.