pompy.dev/.forgejo/workflows/test.yml
pompydev af4092681a
Some checks failed
Test / Test (push) Failing after 1m35s
ci: port github action to forgejo action
2025-06-01 10:07:01 +09:00

23 lines
600 B
YAML

# https://devenv.sh/integrations/github-actions
# https://forgejo.org/docs/latest/user/actions/
name: Test
on:
push:
branches:
- master
workflow_dispatch:
jobs:
test:
name: Test
runs-on: docker
container:
image: ghcr.io/cachix/devenv/devenv:latest
steps:
- uses: actions/checkout@v4
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- run: devenv shell pnpm install
- run: devenv shell pnpm lint
- run: devenv shell pnpm build
- run: devenv shell pnpm test:unit
- run: devenv shell pnpm test:e2e