Skip to content

remove esbuild (#128) #70

remove esbuild (#128)

remove esbuild (#128) #70

Workflow file for this run

name: Main
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: ESLint
shell: bash
run: bun run eslint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: Typecheck
run: bun run tsc
build:
runs-on: ubuntu-latest
needs:
- lint
- typecheck
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: Build & export
run: bun run build:prod
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./out
cname: tahri.dev