ci: add docker publish workflows
This commit is contained in:
37
.github/workflows/verify.yml
vendored
Normal file
37
.github/workflows/verify.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: verify
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.3.13
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Run tests
|
||||
run: bun run test
|
||||
|
||||
- name: Run lint
|
||||
run: bun run lint
|
||||
|
||||
- name: Run build
|
||||
run: bun run build
|
||||
|
||||
- name: Verify Docker build
|
||||
run: docker build --tag codexdash:verify .
|
||||
Reference in New Issue
Block a user