Add Bun runtime support #72
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: PR | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/brocolito-setup | |
- run: bro changed_files | |
id: find-changed-files | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- run: echo ${{ steps.find-changed-files.outputs.changed_files }} | |
check-brocolito: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pnpm-install | |
with: | |
target: brocolito | |
- name: Lint π¨ | |
run: pnpm lint | |
working-directory: brocolito | |
- name: Test π | |
run: pnpm test | |
working-directory: brocolito | |
- name: Build ποΈ | |
run: pnpm dist | |
working-directory: brocolito | |
check-cli: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pnpm-install | |
with: | |
target: .github/cli | |
- name: Lint π¨ | |
run: pnpm lint | |
working-directory: .github/cli | |
- name: Test π | |
run: pnpm test | |
working-directory: .github/cli | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
check-create-brocolito-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/pnpm-install | |
with: | |
target: create-brocolito-cli | |
- name: Lint π¨ | |
run: pnpm lint | |
working-directory: create-brocolito-cli | |
- name: Test π | |
run: pnpm test | |
working-directory: create-brocolito-cli | |
- name: Build ποΈ | |
run: pnpm build | |
working-directory: create-brocolito-cli |