diff --git a/.github/workflows/publish.workflow.yml b/.github/workflows/publish.workflow.yml index 7863d4d..b2415d3 100644 --- a/.github/workflows/publish.workflow.yml +++ b/.github/workflows/publish.workflow.yml @@ -30,9 +30,6 @@ jobs: - name: Install dependencies run: npm ci - - name: Build package - run: npm run build - - name: NPM whoami run: npm whoami env: diff --git a/package.json b/package.json index 2c6e256..102ee42 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ }, "scripts": { "test": "node --import tsx --test ./src/*.test.ts", - "build": "rm -rf dist/ && tsc && chmod +x ./dist/bin/index.js" + "build": "rm -rf dist/ && tsc && chmod +x ./dist/bin/index.js", + "prepare": "npm run build" }, "keywords": [ "javascript",