Compare commits

...

1 commit

Author SHA1 Message Date
2b056bd85f
chore: add testing workflow
Some checks failed
container-scan / Container Scan (pull_request) Successful in 2m19s
tests / Tests (pull_request) Failing after 1m47s
docker-build / docker (pull_request) Has been cancelled
2025-05-12 23:06:21 +02:00
2 changed files with 26 additions and 6 deletions

26
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: tests
on:
push:
branches:
- main
- renovate/*
pull_request:
jobs:
tests:
name: Tests
runs-on: docker
container:
image: ghcr.io/di0ik/forgejo_runner_container:main@sha256:672aee9a5dfc35531db3a218ad9486eb5c5d7d9ac10bdcba13110470c10403ee
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Enable corepack
run: corepack enable
- name: Cypress run
uses: https://github.com/cypress-io/github-action@v6
with:
build: yarn run build
start: yarn start
component: true

View file

@ -1,12 +1,6 @@
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
component: {
devServer: {
framework: 'next',