This commit is contained in:
parent
68b07e007f
commit
af4092681a
3 changed files with 5 additions and 10 deletions
23
.forgejo/workflows/test.yml
Normal file
23
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue