Skip to content

Commit

Permalink
Merge pull request #1 from betrybe/update-node-version
Browse files Browse the repository at this point in the history
Update node version
  • Loading branch information
flpnascto authored Mar 11, 2023
2 parents 1c80b5f + f0c1af0 commit 23ad816
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 45 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ inputs:
default: ''

runs:
using: node12
using: node16
main: dist/index.js
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ function run() {
core.debug("Railway CLI Path: " + resolvedPath);
}
});
yield exec.exec("railway", ["version"]);
yield exec.exec("railway", ["--version"]);
}
catch (error) {
core.setFailed(error.message);
Expand Down
203 changes: 175 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@madebythepinshub/setup-railway-cli-action",
"version": "0.1.0",
"name": "betrybe/setup-railway-cli-action",
"version": "0.1.1",
"description": "Set up Railway CLI in GitHub Actions",
"main": "src/main.ts",
"scripts": {
Expand All @@ -17,21 +17,18 @@
"github-action",
"railwayapp"
],
"author": "Andrei Jiroh Halili <[email protected]>",
"author": "Trybe, Andrei Jiroh Halili <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/MadeByThePinsHub/setup-railway-cli-action/issues"
},
"homepage": "https://github.com/MadeByThePinsHub/setup-railway-cli-action#readme",
"homepage": "https://github.com/betrybe/setup-railway-cli-action#readme",
"devDependencies": {
"@types/node": "^15.6.1",
"@vercel/ncc": "^0.28.6",
"prettier": "^2.3.0"
"@types/node": "18.11.18",
"@vercel/ncc": "0.36.1",
"prettier": "2.8.4"
},
"dependencies": {
"@actions/core": "^1.3.0",
"@actions/exec": "^1.0.4",
"typescript": "^4.3.2",
"which": "^2.0.2"
"@actions/core": "1.10.0",
"@actions/exec": "1.1.1",
"typescript": "4.4.2",
"which": "3.0.0"
}
}
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function run(): Promise<void> {
core.debug("Railway CLI Path: " + resolvedPath);
}
});
await exec.exec("railway", ["version"]);
await exec.exec("railway", ["--version"]);
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 23ad816

Please sign in to comment.