Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(node): bump node version to v20 (latest LTS) #8381

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/deploy-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
token: ${{ secrets.ADMIN_TOKEN }}
ref: main
- name: Setup Node
if: ${{ steps.release.outputs.releases_created }}
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: package.json
registry-url: "https://registry.npmjs.org"
- name: Build Packages and Publish to NPM
if: ${{ steps.release.outputs.releases_created }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: package.json
- name: npm install, build, and test
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-next-changelog-entries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: package.json
- name: Remove Next Changelog Entries
run: |
git pull
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-browserslist-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
node-version-file: package.json
cache: npm
- name: Run update-browserslist-db
run: |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
"overrides": {
"@jest/transform": "29.7.0"
},
"packageManager": "npm@9.8.1",
"packageManager": "npm@10.2.3",
"volta": {
"node": "18.18.2"
"node": "20.10.0"
}
}
Loading