Skip to content

Commit f75474b

Browse files
authored
Merge pull request #4 from aabidsofi19/publish
update publish workflow and logging
2 parents b6723cd + e4ef3c3 commit f75474b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
node-version: 16
2222
- run: |
2323
npm install
24-
npm run dist
2524
publish-gpr:
2625
needs: build
2726
runs-on: ubuntu-latest

src/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ const compileApi = (tsPath, outputPath) => {
2020
// read ts file
2121
const tsFile = fs.readFileSync(tsPath, "utf8");
2222
const result = ts.transpile(tsFile, compileConfig);
23-
// write the result to output file
23+
console.log("Writing output to " + outputPath);
2424
fs.writeFileSync(outputPath, result);
25-
console.log("wrote output to " + outputPath);
2625
};
2726

2827
// Function to run a command and handle success or failure

0 commit comments

Comments
 (0)