Publish packages #17
This file contains hidden or 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: review | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Setup repository | |
| uses: actions/checkout@v4 | |
| - name: π Install Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: π¦ Install dependencies | |
| run: bun install | |
| - name: π Build | |
| run: bun run build | |
| - name: β Lint code | |
| run: bun run lint --max-warnings=0 | |
| - name: π§ͺ Test code | |
| run: bun test |