Files
trips/.gitea/workflows/pr-checks.yml
Shaun Campbell 0e8ac03e07
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 6s
ci) fixing checkout repo
2026-02-20 20:50:39 -05:00

33 lines
656 B
YAML

name: PR Checks
on:
pull_request:
jobs:
lint-test-and-docker-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://cloud.campbellwireless.net/git/actions/checkout@v1
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.3'
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint
run: bun run lint
- name: Unit tests
run: bun run test
- name: Build app
run: bun run build
- name: Build Docker image
run: docker build --file Dockerfile --tag trips:pr-${{ github.sha }} .