Remove TypeScript

This removes TypeScript and all dependencies and only keeps a simple
Javascript file that does not have any dependencies and can be run
directly. There is not need for an NPM build any more and we just
call a shell script via Javascript.

With this, we no longer have to commit node_modules and Javascript
compiled from TypeScript code. Also, the shell script can easily be run
directly for local testing.

Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
This commit is contained in:
Reinhard Naegele
2019-12-02 20:32:54 +01:00
parent 8b61200f6b
commit 5789f54dea
10 changed files with 309 additions and 369 deletions
+10 -8
View File
@@ -1,14 +1,16 @@
name: "chart-releaser action"
description: "Run the chart-releaser tool"
author: "unguiculus"
name: "GitHub Action for Helm Chart Releasing"
description: "Release your Helm chart to a charts repo on GitHub Pages"
author: "The Helm authors"
branding:
color: blue
icon: check-circle
inputs:
charts-dir:
charts_dir:
description: The charts directory
default: charts
charts-repo-url:
charts_repo_url:
description: "The GitHub Pages URL to the charts repo (default: https://<owner>.github.io/<repo>)"
token:
description: The GitHub token
required: true
runs:
using: "node12"
main: "lib/main.js"
main: "main.js"