Skip to content

Commit

Permalink
🏗️ Modify package script to run build script; Version 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
iou90 committed Sep 15, 2021
1 parent f229a54 commit 9416cde
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
11 changes: 4 additions & 7 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-action",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"description": "TypeScript template action",
"main": "lib/main.js",
Expand All @@ -9,7 +9,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"package": "npm run build && ncc build --source-map --license licenses.txt",
"all": "npm run build && npm run format && npm run lint && npm run package"
},
"repository": {
Expand Down
5 changes: 0 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ interface CdnError {

const run: () => Promise<void> = async () => {
try {
core.info('heyheyhey')
const accessKeyId = core.getInput('accessKeyId')
const appSecret = core.getInput('appSecret')
const version = core.getInput('version')
const action = core.getInput('action')
core.info('hey')
const parametersInputs = core.getInput('parameters')
core.info(typeof parametersInputs)
core.info(parametersInputs)
core.info(JSON.parse(parametersInputs))
let parameters: Parameters = {}
if (parametersInputs) {
parameters = JSON.parse(parametersInputs)
Expand Down

0 comments on commit 9416cde

Please sign in to comment.