release: %s #300
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Build & Lint (Bun FTW! ) | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- next | |
- main | |
env: | |
NODE_VERSION: lts/* | |
jobs: | |
build-lint-ts: | |
name: Build & Lint Typescript (Bun Style ) | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: ⤵️ Checkout repository | |
uses: actions/[email protected] | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v1 # Install Bun for our workflow | |
- name: Install dependencies | |
run: bun install # Use Bun's package manager | |
- name: Build Typescript | |
run: bun run build # Leverage Bun's built-in build functionality | |
- name: Run ESLint | |
run: bun run lint # Execute ESLint using Bun's task runner (if applicable) |