diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6673032..3d8ccd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,6 +22,9 @@ jobs: - name: "Automated Version Bump" run: npm version patch + - name: "Build dist folder" + run: npm run build + - name: Update & Push env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} @@ -34,6 +37,7 @@ jobs: - name: Release uses: justincy/github-action-npm-release@2.0.2 id: release + - name: Print release output if: ${{ steps.release.outputs.released == 'true' }} run: echo Release ID ${{ steps.release.outputs.release_id }} diff --git a/package.json b/package.json index 3e86541..3e2953c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "webpack-dev-server --hot --open --mode=development ", "build": " webpack --mode=production", - "commit": " npm run test-all && npm run build && git add . && cz", + "commit": " npm run test-all && git add . && cz", "check-types": "tsc --pretty --noEmit", "check-format": "prettier --check .", "check-lint": "eslint . --ext ts --ext tsx --ext js",