ci: 👷 Added Github Action for Bun #45
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
# Build with Bun, an alternative to Node.js and NPM. | |
name: bun-types | |
on: | |
push: | |
branches: [bun] | |
pull_request: | |
branches: [bun] | |
jobs: | |
build: | |
name: build-app | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install | |
- name: test | |
run: bun run test | |
- name: Build app | |
run: bun run build |