Skip to content

Commit

Permalink
Update node version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Aug 23, 2024
1 parent 1f880e8 commit 3e554bc
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-version-and-channel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ outputs:
description: full version from package.json

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
environment: AcceptanceTests
env:
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
environment: AcceptanceTests
env:
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/promote-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
AWS_EC2_METADATA_DISABLED: true
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- run: yarn --immutable --network-timeout 1000000
- name: install apt-get dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
AWS_EC2_METADATA_DISABLED: true
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- run: yarn --immutable --network-timeout 1000000
- name: install apt-get dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
runs-on: pub-hk-ubuntu-22.04-small
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- run: yarn --immutable --network-timeout 1000000
- name: set NPM auth
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-fig-autocomplete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: pub-hk-ubuntu-22.04-small
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- name: Install Fig Oclif Plugin
run: cd packages/cli && yarn add @fig/complete-oclif && jq '.oclif.plugins += ["@fig/complete-oclif"]' package.json > temp.json && mv temp.json package.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
- run: yarn --immutable --network-timeout 1000000
- run: yarn dlx -p snyk test --all-projects --fail-on=all
- run: yarn dlx -p snyk monitor --all-projects --org=hit
2 changes: 1 addition & 1 deletion .github/workflows/start-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x
- name: set git user
run: |
git config user.name "GitHub Actions Bot"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-create-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_RELEASE_PRIVATE_KEY }}
- name: Use Node.js 16.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- name: set git user
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-installed-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.20.0
nodejs 20.17.0
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@types/inquirer": "^8.2.10",
"@types/lodash": "^4.14.123",
"@types/mocha": "^10.0.6",
"@types/node": "16.11.7",
"@types/node": "20.14.8",
"@types/node-fetch": "^2.1.6",
"@types/phoenix": "^1.4.0",
"@types/proxyquire": "^1.3.28",
Expand Down Expand Up @@ -134,7 +134,7 @@
"typescript": "4.8.4"
},
"engines": {
"node": "~16.20.0"
"node": "~20.x"
},
"files": [
"/autocomplete-scripts",
Expand Down Expand Up @@ -337,7 +337,7 @@
},
"update": {
"node": {
"version": "16.20.2"
"version": "20.x"
},
"s3": {
"xz": true,
Expand Down
12 changes: 7 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5374,10 +5374,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:16.11.7":
version: 16.11.7
resolution: "@types/node@npm:16.11.7"
checksum: 2706403e6efc4aa40fdce8f0b5d9884d5600c3c8610aedc7fa5e7e298d30366f7e8b7296028d52898dca3edef4c3e827b03bf20952c4780f13fa4e79864f7a86
"@types/node@npm:20.14.8":
version: 20.14.8
resolution: "@types/node@npm:20.14.8"
dependencies:
undici-types: ~5.26.4
checksum: a9128840005d4a0aba68826e22ac0fdd86bb9073f1d274217d3509b52f969d1aab83415c85a8461259f33cf34f9eee02fb13dca059865bed2ba2e728bc936a76
languageName: node
linkType: hard

Expand Down Expand Up @@ -11177,7 +11179,7 @@ __metadata:
"@types/js-yaml": ^3.12.5
"@types/lodash": ^4.14.123
"@types/mocha": ^10.0.6
"@types/node": 16.11.7
"@types/node": 20.14.8
"@types/node-fetch": ^2.1.6
"@types/phoenix": ^1.4.0
"@types/proxyquire": ^1.3.28
Expand Down

0 comments on commit 3e554bc

Please sign in to comment.