Skip to content

deps(deps-dev): bump wrangler from 4.94.0 to 4.116.0 #97

deps(deps-dev): bump wrangler from 4.94.0 to 4.116.0

deps(deps-dev): bump wrangler from 4.94.0 to 4.116.0 #97

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install
# Check only — forks and Dependabot (no write access to push fixes)
- name: Lint (check only — forks and Dependabot)
if: |
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != github.repository_owner) ||
contains(github.actor, 'dependabot')
run: pnpm run lint
# Auto-fix + commit — push to main or human PRs from same repo
- name: Lint (auto-fix)
if: |
!contains(github.actor, 'dependabot') &&
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner)
run: pnpm run lint:fix || true
- name: Commit lint fixes
if: |
!contains(github.actor, 'dependabot') &&
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner)
env:
HEAD_REF: ${{ github.head_ref }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
if git diff --quiet; then
echo "No lint fixes needed."
exit 0
fi
git add -A
git commit -m "chore(lint): biome auto-fix"
# actions/checkout leaves a detached HEAD on PR events.
# Push back to the source branch explicitly; --force-with-lease
# prevents overwriting concurrent pushes that aren't ours.
if [ -n "$HEAD_REF" ]; then
git push origin "HEAD:${HEAD_REF}" --force-with-lease
else
git push
fi
smoke:
name: Smoke Test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r build