Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit a097426

Browse files
ci: update GitHub Actions to run on develop branch and PRs (#5)
* feat(layout): implement AuthShell layout with logo slot * ci: update GitHub Actions to run on develop branch and PRs * fix: update pnpm-workspace.yaml with correct packages path * docs: update project plan with GitHub Actions task * fix: remove unused React import in AuthShell test
1 parent 4654c3d commit a097426

File tree

7 files changed

+54
-9
lines changed

7 files changed

+54
-9
lines changed

.cursor/rules/coding.mdc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ alwaysApply: true
1111
- Make sure you understand docs/planning.md and docs/project_plan.md
1212
- Before starting coding, always present a plan for approval.
1313
- Tasks are in docs/project_plan.md
14-
- Each task will be implemented via a feature branch and a PR.
15-
- Before PR is submitted, the task is marked with "PR" in docs/project_plan.md.
16-
- After task is completed (PR merged), the task is marked with a checkmark in docs/project_plan.md
14+
- Each task will be implemented via a feature branch and a PR to the develop branch.
15+
- Always follow the following recipe for implementing tasks:
16+
1. Start implementing after the user has explicitly told so.
17+
2. After finishing implementing, perform all necessary tests and check if the DoD for this task is met.
18+
3. Report on test results and DoD criteria and ask user if a PR should be submitted.
19+
4. If the user approves submitting a PR, and before PR is submitted, the task is marked with "PR" in docs/project_plan.md.
20+
5. After PR ist submitted, report to the user and wait for manual instructions.
21+
6. The user will then review and merge the PR or ask for updates.
22+
7. Pull the repo again to check if the PR has been merged.
23+
8. After task is completed (PR merged), the task is marked with a checkmark in docs/project_plan.md

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [main]
7+
branches: [main, develop]
88

99
jobs:
1010
install:

.github/workflows/docker-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Docker Test
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [main]
7+
branches: [main, develop]
88

99
jobs:
1010
build-and-test:

docs/project_plan.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ A pragmatic breakdown into **four one‑week sprints** plus a preparatory **Spri
1515
| 0.4 | Commit Husky hooks (commitlint, lint‑staged). | Attempting to commit code with ESLint errors is blocked locally. ||
1616
| 0.5 | Seed Changesets & automatic versioning. | Merging PR increments `package.json version` and creates a changelog file. ||
1717
| 0.6 | **Docker/Dokku infra** – Add multi‑stage `Dockerfile`, `Procfile`; CI job builds image & pushes to test Dokku app. | `gh workflow run docker-test` builds & deploys; Dokku reports container running, health‑check 200. ||
18+
| 0.7 | **Update GitHub Actions** – Configure CI workflows to run on develop branch and PRs. | CI workflows run on both main and develop branches, as well as PRs targeting these branches. | PR |
1819

1920
---
2021

packages/ui-kit/src/layout/AuthShell/AuthShell.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { render, screen } from '@testing-library/react';
32
import { AuthShell } from './AuthShell';
43

pnpm-lock.yaml

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
packages:
2-
- 'packages/*'
2+
- "packages/*"

0 commit comments

Comments
 (0)