diff --git a/forks/github-app-token/action.yml b/forks/github-app-token/action.yml index acd9411..90e6a3a 100644 --- a/forks/github-app-token/action.yml +++ b/forks/github-app-token/action.yml @@ -22,7 +22,7 @@ outputs: token: description: An installation token for the GitHub App on the requested repository. runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: unlock diff --git a/forks/github-app-token/build.sh b/forks/github-app-token/build.sh new file mode 100755 index 0000000..c8aa6cd --- /dev/null +++ b/forks/github-app-token/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Remember to run: nvm use v20" + +npm install +npm run build diff --git a/forks/github-app-token/package-lock.json b/forks/github-app-token/package-lock.json index c3dba6c..48c995d 100644 --- a/forks/github-app-token/package-lock.json +++ b/forks/github-app-token/package-lock.json @@ -30,6 +30,9 @@ "vite-plugin-dts": "^2.3.0", "xo": "^0.56.0", "yarn-deduplicate": "^6.0.1" + }, + "engines": { + "node": "^20" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/forks/github-app-token/package.json b/forks/github-app-token/package.json index 462ef2a..39414f3 100644 --- a/forks/github-app-token/package.json +++ b/forks/github-app-token/package.json @@ -6,6 +6,9 @@ "action.yml", "dist/index.js" ], + "engines": { + "node": "^20" + }, "main": "./dist/index.js", "exports": { ".": {