chore(deps): update dependency bun-types to v1.1.29 #1561
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |