Skip to content

Commit

Permalink
Upgrade Node 16 to Node 20 (#300)
Browse files Browse the repository at this point in the history
* Upgrade Node 16 to Node 20

Fixes gh-299

Signed-off-by: Thomas Vitale <[email protected]>

* Migrate from @zeit/ncc to @vercel/ncc

The @zeit/ncc library is no longer maintained
and doesn't support Node 20.
Migrating to @vercel/ncc is recommended.

Fixes gh-299

Signed-off-by: Thomas Vitale <[email protected]>

* Update package-lock file

Re-generate package-lock file after migrating
from @zeit/ncc to @vercel/ncc

Signed-off-by: Thomas Vitale <[email protected]>

* Update index.js

Signed-off-by: Thomas Vitale <[email protected]>

* fix: specific version e2e test

Signed-off-by: Thomas Vitale <[email protected]>

---------

Signed-off-by: Thomas Vitale <[email protected]>
  • Loading branch information
ThomasVitale authored Sep 26, 2023
1 parent a115074 commit a173dc9
Show file tree
Hide file tree
Showing 5 changed files with 13,789 additions and 13,773 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
- uses: ./
with:
only: ytt
ytt: v0.27.0
ytt: v0.43.4
token: ${{ secrets.GITHUB_TOKEN }}
- run: npm ci
- name: check specific version is installed
run: npm run verify:output "ytt version" "ytt version 0.27.0"
run: npm run verify:output "ytt version" "ytt version 0.43.4"

test-e2e-no-token:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ inputs:
required: false
default: latest
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit a173dc9

Please sign in to comment.