Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 24 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,39 @@ on:
pull_request:

concurrency:
group: >-
${{ github.workflow }}-${{ github.event.pull_request.user.login == 'dependabot[bot]' && 'dependabot-queue' || github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
ci:
uses: dacrab/.github-workflows/.github/workflows/bun-ci.yml@v1
with:
node-version: '22'
check-cmd: 'bun run ci'
test-cmd: ''
build-cmd: 'bun run build'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '22'
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- run: bun install --frozen-lockfile
- name: Check
run: bun run ci
- name: Build
run: bun run build

auto-merge:
needs: ci
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
contents: write
uses: dacrab/.github-workflows/.github/workflows/dependabot-auto-merge.yml@v1
with:
target: minor
pull-requests: write
steps:
- uses: fastify/github-action-merge-dependabot@59fc8817458fac20df8884576cfe69dbb77c9a07 # v3
with:
target: minor
18 changes: 0 additions & 18 deletions .github/workflows/sync-lockfile.yml

This file was deleted.