Skip to content

Commit

Permalink
bump packaged node version
Browse files Browse the repository at this point in the history
- bump packaged oclif node version to latest LTS (20.13.1)
- bump node version for CI workflows to 20.x
- keep supported version in package.json to >=18.0.0
  • Loading branch information
Roy Razon committed May 28, 2024
1 parent f4c3906 commit d804e84
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/awesome-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
- name: Check awesome-list linter
# https://github.com/sindresorhus/awesome/blob/main/pull_request_template.md
run: npx --yes awesome-lint ./README.md
2 changes: 1 addition & 1 deletion .github/workflows/check-package-mismatches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
- name: Check mismatched dependencies in workspace
run: npx --yes syncpack@11.2.1 check-mismatches
2 changes: 1 addition & 1 deletion .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: yarn

- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: yarn

- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: yarn

- run: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: yarn

- run: yarn
Expand All @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: yarn

- run: yarn
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
"topicSeparator": " ",
"update": {
"node": {
"version": "18.19.0",
"version": "20.13.1",
"options": [
"--no-warnings=ExperimentalWarning",
"--disable-warning=ExperimentalWarning",
"--enable-source-maps"
]
},
Expand Down

0 comments on commit d804e84

Please sign in to comment.