diff --git a/.github/workflows/bumpVersion.yml b/.github/workflows/bumpVersion.yml index f5848abf..22be1b38 100644 --- a/.github/workflows/bumpVersion.yml +++ b/.github/workflows/bumpVersion.yml @@ -50,8 +50,8 @@ jobs: echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT" echo "Branch will be $NEW_VERSION" - - name: Install (lockfile refresh if needed) - run: npm install --package-lock-only + - name: Install dependencies + run: npm install --legacy-peer-deps - name: Generate documentation run: npm run docgen diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7608252e..2fa3e8ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,10 +37,10 @@ jobs: - name: Verify generated documentation is committed run: | # Ensure we have the latest main branch reference locally to compare against - git fetch origin main:main + git fetch origin main # Check if package.json version changed compared to main branch - if git diff main package.json | grep -q '"version"'; then + if git diff origin/main package.json | grep -q '"version"'; then echo "Package version was updated" # Regenerate documentation to verify it's current