pompy.dev/.forgejo/workflows/test.yml
pompydev 4ec7a1fae1
Some checks failed
Test / Test (push) Failing after 36s
ci: fix failing tests
2025-06-01 12:26:10 +09:00

29 lines
860 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:
- run: nix-env -i nodejs
- uses: actions/checkout@v4
- name: Install devenv.sh
run: |
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
nix profile install flake:nixpkgs#legacyPackages.x86_64-linux.devenv --priority 6 \
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