Files
trips/.gitea/workflows/pr-checks.yml
Shaun Campbell b7c794db21
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 44s
ci) use internal checkout action
2026-02-20 20:46:13 -05:00

36 lines
750 B
YAML

name: PR Checks
on:
pull_request:
jobs:
lint-test-and-docker-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://git.campbellwireless.net/actions/checkout@v1
with:
server-url: https://cloud.campbellwireless.net/git
fetch-depth: 0
- 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 }} .