Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyaxl committed Dec 9, 2023
1 parent 6376a2c commit f14123e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
with:
node-version: "18"
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install

- name: Build TypeScript
run: npm run build

- name: List Dist Directory
run: ls -l dist
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.4",
"description": "Automated bot scraper to streamline data extraction from GitHub and SonarQube",
"scripts": {
"build": "npx tsc"
"build": "npx tsc --outDir dist"
},
"bin": {
"sonargit": "./dist/index.js"
Expand Down

0 comments on commit f14123e

Please sign in to comment.