Skip to content

Commit

Permalink
Merge pull request #4 from aabidsofi19/publish
Browse files Browse the repository at this point in the history
update publish workflow and logging
  • Loading branch information
aabidsofi19 authored Dec 20, 2023
2 parents b6723cd + e4ef3c3 commit f75474b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
node-version: 16
- run: |
npm install
npm run dist
publish-gpr:
needs: build
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ const compileApi = (tsPath, outputPath) => {
// read ts file
const tsFile = fs.readFileSync(tsPath, "utf8");
const result = ts.transpile(tsFile, compileConfig);
// write the result to output file
console.log("Writing output to " + outputPath);
fs.writeFileSync(outputPath, result);
console.log("wrote output to " + outputPath);
};

// Function to run a command and handle success or failure
Expand Down

0 comments on commit f75474b

Please sign in to comment.