Skip to content

Commit

Permalink
Merge branch 'main' into redis
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOduneye committed May 19, 2024
2 parents f9d6877 + d27d776 commit 6fca11a
Show file tree
Hide file tree
Showing 539 changed files with 33,948 additions and 39,204 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "☢️ Bug"
about: Create a report to help us improve
title: "☢️ bug: [Short description of the bug]"
labels: ["☢️ bug"]
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/chore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "🧹 Chore"
about: Something you'd like to see done but not urgently
title: "🧹 chore: [Short description of the chore]"
labels: ["🧹 chore"]
---

**Please describe.**
A clear and concise description of what you'd like to see. Ex. We should [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**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.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "📝 Feature Request"
about: Suggest an idea for this project
title: "📝 feat: [Short description of the feature]"
labels: ["📝 feature"]
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**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.
6 changes: 0 additions & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ on:
- backend/**
- config/**
- .github/workflows/backend.yml
pull_request:
types: [opened]
paths:
- backend/**
- config/**
- .github/workflows/backend.yml

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/backend_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "backend/**"
- ".github/workflows/backend_codeql.yml"
pull_request:
types: [opened]
paths:
- "backend/**"
- ".github/workflows/backend_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ on:
- cli/**
- config/**
- .github/workflows/cli.yml
pull_request:
types: [opened]
paths:
- cli/**
- config/**
- .github/workflows/cli.yml

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cli_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "cli/**"
- ".github/workflows/cli_codeql.yml"
pull_request:
types: [opened]
paths:
- "cli/**"
- ".github/workflows/cli_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
paths:
- frontend/dashboard/**
- .github/workflows/dashboard.yml
pull_request:
types: opened
paths:
- frontend/dashboard/**
- .github/workflows/dashboard.yml

jobs:
format:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/dashboard_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "frontend/dashboard/**"
- ".github/workflows/dashboard_codeql.yml"
pull_request:
types: [opened]
paths:
- "frontend/dashboard/**"
- ".github/workflows/dashboard_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
35 changes: 30 additions & 5 deletions .github/workflows/frontend_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
paths:
- frontend/lib/**
- .github/workflows/frontend_lib.yml
pull_request:
types: opened
paths:
- frontend/lib/**
- .github/workflows/frontend_lib.yml

jobs:
format:
Expand Down Expand Up @@ -74,3 +69,33 @@ jobs:
run: |
cd frontend/lib
yarn test
release-check:
name: Release Check
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v3

- name: Get new version of package.json
id: get_new_version
run: |
echo "new_version=$(jq -r '.version' frontend/lib/package.json)" >> $GITHUB_OUTPUT
- name: Checkout main
uses: actions/checkout@v3
with:
ref: main

- name: Get old version of package.json
id: get_old_version
run: |
echo "old_version=$(jq -r '.version' frontend/lib/package.json)" >> $GITHUB_OUTPUT
- name: Compare versions
run: |
if [ "${{ steps.get_old_version.outputs.old_version }}" = "${{ steps.get_new_version.outputs.new_version }}" ]; then
echo "Old and new versions of package.json are identical, please bump the version number"
exit 1
else
echo "New package version idenitied!"
fi
5 changes: 0 additions & 5 deletions .github/workflows/frontend_lib_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "frontend/lib/**"
- ".github/workflows/frontend_lib_codeql.yml"
pull_request:
types: [opened]
paths:
- "frontend/lib/**"
- ".github/workflows/frontend_lib_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/frontend_lib_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Frontend Lib Release

on:
push:
branches:
- main
paths:
- "frontend/lib/**"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@octocat'
- run: |
cd frontend/lib
yarn
yarn build
NODE_AUTH_TOKEN=${{ secrets.NPM_AUTH_TOKEN }}
yarn publish --access public
5 changes: 0 additions & 5 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
paths:
- frontend/mobile/**
- .github/workflows/mobile.yml
pull_request:
types: opened
paths:
- frontend/mobile/**
- .github/workflows/mobile.yml

jobs:
format:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/mobile_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "frontend/mobile/**"
- ".github/workflows/mobile_codeql.yml"
pull_request:
types: [opened]
paths:
- "frontend/mobile/**"
- ".github/workflows/mobile_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
105 changes: 0 additions & 105 deletions .github/workflows/mock_data.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
paths:
- frontend/web/**
- .github/workflows/web.yml
pull_request:
types: opened
paths:
- frontend/web/**
- .github/workflows/web.yml

jobs:
format:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/web_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
paths:
- "frontend/web/**"
- ".github/workflows/web_codeql.yml"
pull_request:
types: [opened]
paths:
- "frontend/web/**"
- ".github/workflows/web_codeql.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
Loading

0 comments on commit 6fca11a

Please sign in to comment.