Skip to content

Commit 3ed8463

Browse files
committed
chore: remove compiled imputs
1 parent ea1d3ce commit 3ed8463

File tree

6 files changed

+3
-25
lines changed

6 files changed

+3
-25
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,3 @@ jobs:
2929
add: lib
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
33-
- uses: EndBug/add-and-commit@v4
34-
with:
35-
message: '[auto] build: update input typings'
36-
add: src/inputs.ts
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
"description": "Add & commit files from a path directly from GitHub Actions",
55
"main": "lib/index.js",
66
"scripts": {
7-
"build": "npm run inputs && ncc build src/main.ts --minify --out lib",
7+
"build": "ncc build src/main.ts --minify --out lib",
88
"watch": "ncc build src/main.ts --watch --out lib",
99
"all-contributors-badge": "ts-node scripts/all-contributors-badge",
1010
"changelog": "ts-node scripts/changelog.ts",
11-
"inputs": "ts-node scripts/inputs.ts",
1211
"test": "echo \"Error: no test specified\" && exit 1"
1312
},
1413
"husky": {

scripts/inputs.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/inputs.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import axios from 'axios'
33
import path from 'path'
44
import simpleGit, { Response } from 'simple-git'
55

6-
import { Input } from './inputs'
6+
type Input = 'add' | 'author_name' | 'author_email' | 'branch' | 'cwd' | 'message' | 'pull_strategy' | 'push' | 'remove' | 'signoff' | 'tag'
77

88
const baseDir = path.join(process.cwd(), getInput('cwd') || '')
99
const git = simpleGit({ baseDir })

0 commit comments

Comments
 (0)