Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

Commit c08ff57

Browse files
Initial commit
0 parents  commit c08ff57

File tree

8 files changed

+211
-0
lines changed

8 files changed

+211
-0
lines changed

.gitignore

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
67+
.env.test
68+
69+
# parcel-bundler cache (https://parceljs.org/)
70+
.cache
71+
72+
# next.js build output
73+
.next
74+
75+
# nuxt.js build output
76+
.nuxt
77+
78+
# vuepress build output
79+
.vuepress/dist
80+
81+
# Serverless directories
82+
.serverless/
83+
84+
# FuseBox cache
85+
.fusebox/
86+
87+
# DynamoDB Local files
88+
.dynamodb/

.prettierrc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
arrowParens: "always"
2+
semi: false
3+
trailingComma: "es5"

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Velocity deploy action
2+
description: A GitHub Action for sending deployment information to Velocity.
3+
author: Code Climate
4+
inputs:
5+
myInput:
6+
description: 'Input to use'
7+
default: 'world'
8+
runs:
9+
using: "node12"
10+
main: "lib/main.js"

lib/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
const main = () => {
4+
console.log("Hello world");
5+
};
6+
main();

package-lock.json

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"scripts": {
3+
"build": "tsc"
4+
},
5+
"dependencies": {
6+
"@actions/core": "file:toolkit/actions-core-0.0.0.tgz",
7+
"@actions/io": "file:toolkit/actions-io-0.0.0.tgz",
8+
"@actions/exec": "file:toolkit/actions-exec-0.0.0.tgz",
9+
"@actions/tool-cache": "file:toolkit/actions-tool-cache-0.0.0.tgz"
10+
},
11+
"devDependencies": {
12+
"@types/node": "^12.6.8",
13+
"typescript": "^3.5.3"
14+
}
15+
}

src/main.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as core from "@actions/core"
2+
3+
const main = (): void => {
4+
console.log("Hello world")
5+
}
6+
7+
main()

tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"exclude": ["node_modules"],
3+
"compilerOptions": {
4+
"target": "es6",
5+
"module": "commonjs",
6+
"outDir": "./lib",
7+
"rootDir": "./src",
8+
"esModuleInterop": true,
9+
"strict": true
10+
}
11+
}

0 commit comments

Comments
 (0)