Skip to content

Commit

Permalink
Merge pull request #5 from nyarla/add-github-workflow
Browse files Browse the repository at this point in the history
feat(github): add dependabot and workflow files
  • Loading branch information
nyarla committed Apr 21, 2024
2 parents 4d17975 + aa81a43 commit 139c516
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
time: "10:00"
timezone: "Asia/Tokyo"
labels:
- dependabot
pull-request-branch-name:
separator: "-"
commit-message:
prefix: "chore(dependabot): "
26 changes: 26 additions & 0 deletions .github/workflows/bun-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test toolchain

jobs:
pull_request:
paths:
- ".github/workflows/bun-test.yaml"
- "src"
- "test"
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
bun-version: latest
- uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1.2.1
- run: bun install
- run: bun test

0 comments on commit 139c516

Please sign in to comment.