22 lines
600 B
YAML
22 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: ubuntu:latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@v31
|
|
- run: nix profile install nixpkgs#devenv
|
|
- uses: rharkor/caching-for-turbo@v1.8
|
|
- 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
|