From 1f2231b3ec5ae1ddcfb682c8bc6eb7c2a02ad90a Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 28 Mar 2025 10:16:19 -0700 Subject: [PATCH] fix(gh-actions): bug fix that ensures build before publish --- .github/workflows/bumpversion.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml index 58a3202..673dc29 100644 --- a/.github/workflows/bumpversion.yml +++ b/.github/workflows/bumpversion.yml @@ -15,10 +15,18 @@ jobs: name: "Bump version and create changelog with commitizen" steps: - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}" fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install Dependencies + run: npm i + - name: Build + run: npm run build - name: Get current version from package.json id: get_current_version run: |