diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a86d01d..9fea368 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package.json b/package.json index e4cd375..242131c 100644 --- a/package.json +++ b/package.json @@ -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"