Skip to content

Commit d4f769b

Browse files
author
Marcos Calafat
committed
chore: update GitHub workflows and package.json for Node.js 18
This commit upgrades the GitHub Actions workflows to use actions/checkout@v4 and actions/setup-node@v4, while also updating the Node.js version from 16 to 18 in both workflows and the package.json file. This ensures compatibility with the latest features and improvements in Node.js.
1 parent c8397e1 commit d4f769b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/botonic-docs-netlify-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
GOOGLE_OPTIMIZE_ID: ${{ secrets.GOOGLE_OPTIMIZE_ID }}
1212
steps:
1313
- name: Checking out to current branch
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
- name: Setting up node with caching
16-
uses: actions/setup-node@v2-beta
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: '16'
18+
node-version: '18'
1919
cache: 'npm'
2020
cache-dependency-path: '**/package-lock.json'
2121
- name: Install dev dependencies

.github/workflows/botonic-docs-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
GOOGLE_OPTIMIZE_ID: ${{ secrets.GOOGLE_OPTIMIZE_ID }}
1616
steps:
1717
- name: Checking out to current branch
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: Setting up node with caching
20-
uses: actions/setup-node@v2-beta
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: '16'
22+
node-version: '18'
2323
cache: 'npm'
2424
cache-dependency-path: '**/package-lock.json'
2525
- name: Install dev dependencies

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@
9696
]
9797
},
9898
"engines": {
99-
"node": ">=16.14.0"
99+
"node": ">=18.0.0"
100100
}
101101
}

0 commit comments

Comments
 (0)