snapshot of https://github.com/raimohanska/ourboard.git (master, 2026-09-23; blobs > 131072B omitted)
Some checks failed
build / test (18.x) (push) Failing after 10s
build / lint (18.x) (push) Failing after 0s
build / docker-image (push) Has been skipped

This commit is contained in:
upstream-mirror
2026-09-23 16:16:17 +05:00
commit d57328655f
233 changed files with 21282 additions and 0 deletions

24
.github/ISSUE_TEMPLATE/bug-report.md vendored Normal file
View File

@@ -0,0 +1,24 @@
---
name: Bug Report
about: Create a bug report to help us out
title: ""
labels: bug
assignees: ""
---
# Feature request story or issue
## Screenshot
YOUR SCREENSHOT HERE:
## Url
- Url where you took the screenshot:
- URL:
## A sentence description of the problem
Short DESCRIPTION:
That's it! Thanks.

View File

@@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request]"
labels: enhancement
assignees: ""
---
**Is your feature request related to a problem? There is a Please describe.**
A clear and concise description of what the problem is. Ex. When I want to do X, I am always missing Y to make it easier [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Take a screenshot of the area you're working in**
Even if the feature request doesn't exist there yet, what area would the feature request help within?
SCREENSHOT:
URL (of where you're working):
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

83
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,83 @@
name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
env:
POSTGRES_USER: r-board
POSTGRES_PASSWORD: secret
ports:
- 13338:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install deps
run: yarn
- name: Run unit tests
run: yarn test:unit
- name: Wait for DB
run: yarn wait-for-db
- name: Run integration tests
run: yarn test:integration
- name: Build
run: yarn build
- name: Start server
run: yarn start&
env:
SESSION_SIGNING_SECRET: notsosecretthing
- name: Prepare Playwright
run: npx playwright install chromium firefox
- name: Run playwright tests
run: yarn test:playwright
- name: Archive results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
playwright/results
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Check code formatting & generated files
run: yarn lint
docker-image:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_HUB_USER: ${{secrets.DOCKER_HUB_USER}}
DOCKER_HUB_PASSWORD: ${{secrets.DOCKER_HUB_PASSWORD}}
run: docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD
- name: docker build
run: docker build . -t raimohanska/ourboard:latest -t raimohanska/ourboard:${{github.sha}}
- name: docker push
run: docker push raimohanska/ourboard:latest && docker push raimohanska/ourboard:${{github.sha}}