Skip to content

feat: add importqueue command and improve exportqueue #586

feat: add importqueue command and improve exportqueue

feat: add importqueue command and improve exportqueue #586

name: Update lockfiles
on:
push:
branches: [ next ]
jobs:
update-lockfiles:
name: Update lockfiles
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
- name: Install pnpm
uses: pnpm/action-setup@v5
with:
version: '8.15.9'
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies with pnpm
run: pnpm install --no-frozen-lockfile
- name: Remove node_modules before Bun install
run: rm -rf node_modules
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies with Bun
run: bun install
- name: Check for lockfile changes
id: check
run: |
git add pnpm-lock.yaml bun.lock 2>/dev/null || true
if git diff --cached --quiet; then
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Commit and push changes
if: steps.check.outputs.changed == 'true'
env:
USER_NAME: ${{ secrets.ZPTX_BOT_NAME }}
USER_EMAIL: ${{ secrets.ZPTX_BOT_EMAIL }}
run: |
git config user.name "$USER_NAME"
git config user.email "$USER_EMAIL"
git commit -m "chore: update lockfiles"
git push