Skip to content

Commit

Permalink
feat: update nodejs 20
Browse files Browse the repository at this point in the history
  • Loading branch information
YunaBraska committed Mar 14, 2024
1 parent 2879c41 commit 33e1892
Show file tree
Hide file tree
Showing 8 changed files with 7,287 additions and 294 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ variety of programming languages and conventions.
* Build: `npm run build` to "compile" `index.ts` to `./lib/index.js`
* Test: `npm run test`
* _clean environment: `./clean_node.sh`_
* NodeJs 16: do not upgrade nodeJs as GitHub actions latest version is 16
* NodeJs 20: do not upgrade nodeJs as GitHub actions latest version is 20

[build_shield]: https://github.com/YunaBraska/git-info-action/workflows/RELEASE/badge.svg

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ outputs:
repo_owner_type:
description: "The type of the repository's owner."
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: file-text
Expand Down
2 changes: 1 addition & 1 deletion clean_node.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
echo "########## SETUP NODE (via nvm) ##########"
nvm install 16 || true
nvm install 20 || true
echo "########## DELETE CACHE ##########"
rm -rf package-lock.json node_modules
echo "########## GENERATE [package-lock] ##########"
Expand Down
Loading

0 comments on commit 33e1892

Please sign in to comment.