Skip to content

chore(deps): update dependency bun-types to v1.1.31 #1572

chore(deps): update dependency bun-types to v1.1.31

chore(deps): update dependency bun-types to v1.1.31 #1572

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: oven-sh/setup-bun@v1
- uses: reviewdog/action-setup@v1
- run: bun install --frozen-lockfile
- run: bun run format
- id: files-formatted
run: |
echo "formatted=$(git diff-index --quiet HEAD && echo false || echo true)" >> "$GITHUB_OUTPUT"
- name: commit formatted files
run: |
git config user.email '139195068+fohte-bot[bot]@users.noreply.github.com'
git config user.name 'fohte-bot[bot]'
git add .
git commit -m 'style: $ bun run format'
git push
if: steps.files-formatted.outputs.formatted == 'true'
- run: bun run test