next-proxy-middleware/.github/workflows/test.yml
Kevin Franklin Kim bfa895039e
chore: add volta
2025-02-07 16:00:56 +01:00

39 lines
701 B
YAML

name: Test Branch
on:
push:
branches: [ main ]
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- name: Run install
run: |
bun install
git diff --exit-code
- name: Run lint
run: bun run lint
- name: Run type check
run: bun run type-check
#- name: Run test
# run: bun test