Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

child items' css generator added #411

Closed
wants to merge 1,448 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1448 commits
Select commit Hold shift + click to select a range
2477fe9
rm toml
lifeparticle Nov 28, 2023
8c0339e
bring back
lifeparticle Nov 28, 2023
bd4c131
tidy
lifeparticle Nov 28, 2023
e6b6655
feature count
lifeparticle Nov 28, 2023
6dfb845
new books
lifeparticle Nov 28, 2023
9a4ab21
Update news.json
actions-user Nov 29, 2023
d038066
Update packages.json
actions-user Nov 29, 2023
020fd47
index to page name
lifeparticle Nov 29, 2023
fc575f4
cleanup imports
lifeparticle Nov 29, 2023
71d645c
minfy set to true
lifeparticle Nov 29, 2023
1ae5a48
Update news.json
actions-user Nov 30, 2023
9750bdb
Update packages.json
actions-user Nov 30, 2023
36d7b98
Update news.json
actions-user Dec 1, 2023
61b26dc
Update packages.json
actions-user Dec 1, 2023
8b1ed83
Update news.json
actions-user Dec 2, 2023
3d5f1ef
Update packages.json
actions-user Dec 2, 2023
72eab76
pr reivew fix stuff
lifeparticle Dec 2, 2023
b26e700
pr reivew fix stuff
lifeparticle Dec 2, 2023
dc15d4a
Merge pull request #382 from lifeparticle/code-review-1
lifeparticle Dec 2, 2023
564e4ac
sonar lint
lifeparticle Dec 2, 2023
912e9c9
Merge pull request #383 from lifeparticle/code-review-1
lifeparticle Dec 2, 2023
3bfbcfa
Update news.json
actions-user Dec 3, 2023
a563d79
Update packages.json
actions-user Dec 3, 2023
878c97b
Update news.json
actions-user Dec 4, 2023
24f0daa
Update packages.json
actions-user Dec 4, 2023
2318b14
Update news.json
actions-user Dec 5, 2023
a183938
Update packages.json
actions-user Dec 5, 2023
efe0d63
add resources
lifeparticle Dec 5, 2023
6e60989
add resources
lifeparticle Dec 5, 2023
b01084e
hide networking
lifeparticle Dec 5, 2023
f13b413
colors refactoring
lifeparticle Dec 5, 2023
1846e4d
refactor resource
lifeparticle Dec 5, 2023
4f21ac0
add plausible
lifeparticle Dec 5, 2023
47f9b8d
new resource
lifeparticle Dec 5, 2023
6831c79
Update news.json
actions-user Dec 6, 2023
a5053d6
Update packages.json
actions-user Dec 6, 2023
e6d7276
refactor
lifeparticle Dec 6, 2023
85c6707
Update news.json
actions-user Dec 7, 2023
fb48b7b
Update packages.json
actions-user Dec 7, 2023
fa1f5b9
Update news.json
actions-user Dec 8, 2023
27cbf38
Update packages.json
actions-user Dec 8, 2023
25bf894
Update news.json
actions-user Dec 9, 2023
6b886f9
Update packages.json
actions-user Dec 9, 2023
0f5668d
Update FAQ.md
lifeparticle Dec 9, 2023
4d66b3c
Update news.json
actions-user Dec 10, 2023
fcc6ebe
Update packages.json
actions-user Dec 10, 2023
8ab603d
sonar errors fixed
Dec 10, 2023
83bfa38
Update news.json
actions-user Dec 11, 2023
c38d3e4
Update packages.json
actions-user Dec 11, 2023
417d47c
uuid generator deleted due to failing tests
Dec 11, 2023
d1f229e
lint errors fixed
Dec 11, 2023
e1d2d56
Update news.json
actions-user Dec 12, 2023
61c9a78
Update packages.json
actions-user Dec 12, 2023
65107dd
rm title from index file
lifeparticle Dec 12, 2023
f6cb925
Merge pull request #384 from lifeparticle/Sonarqube-Errors
lifeparticle Dec 12, 2023
8e525f6
roll back
lifeparticle Dec 12, 2023
6387f5d
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Dec 12, 2023
596ba06
roll back
lifeparticle Dec 12, 2023
3fdf03a
fix doco
lifeparticle Dec 12, 2023
2816578
Update news.json
actions-user Dec 13, 2023
8822dc8
Update packages.json
actions-user Dec 13, 2023
3635cda
code formattor ui
lifeparticle Dec 13, 2023
10d8f2b
clean up
lifeparticle Dec 13, 2023
ec2df3f
clean up pkg
lifeparticle Dec 13, 2023
f5371d3
.gitignore
lifeparticle Dec 13, 2023
55e591c
Update news.json
actions-user Dec 14, 2023
1673315
Update packages.json
actions-user Dec 14, 2023
46e59ef
rm unused pkg
lifeparticle Dec 14, 2023
24908ae
not that
lifeparticle Dec 14, 2023
c0b8d46
new resource
lifeparticle Dec 14, 2023
c0a698a
Update news.json
actions-user Dec 15, 2023
a901494
Update packages.json
actions-user Dec 15, 2023
49da4cf
new book
lifeparticle Dec 15, 2023
c0cfdf7
Update news.json
actions-user Dec 16, 2023
91bf4a2
Update packages.json
actions-user Dec 16, 2023
277c2c3
Update news.json
actions-user Dec 17, 2023
6422586
Update packages.json
actions-user Dec 17, 2023
bf39a47
simplified table counting logic
RomanButsko Dec 17, 2023
ba872ba
Update news.json
actions-user Dec 18, 2023
b406ca4
Update packages.json
actions-user Dec 18, 2023
efd3255
update pkg
lifeparticle Dec 18, 2023
8da0b21
Update news.json
actions-user Dec 19, 2023
87f621d
Update packages.json
actions-user Dec 19, 2023
c7a2889
Update news.json
actions-user Dec 20, 2023
73c905e
Update packages.json
actions-user Dec 20, 2023
54d061a
Update news.json
actions-user Dec 21, 2023
8bd25d9
Update packages.json
actions-user Dec 21, 2023
ab92235
Update news.json
actions-user Dec 22, 2023
88d7c51
Update packages.json
actions-user Dec 22, 2023
903aa62
new res
lifeparticle Dec 22, 2023
0682070
Update news.json
actions-user Dec 23, 2023
85e6e39
Update packages.json
actions-user Dec 23, 2023
522a574
feature and help stuff
lifeparticle Dec 23, 2023
faab4c0
fix keys
lifeparticle Dec 23, 2023
4c6b588
add id
lifeparticle Dec 23, 2023
989d15c
Update news.json
actions-user Dec 24, 2023
7036849
Update packages.json
actions-user Dec 24, 2023
29dda70
tidy
lifeparticle Dec 24, 2023
61cd066
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Dec 24, 2023
931486f
Update news.json
actions-user Dec 25, 2023
612fdb5
Update packages.json
actions-user Dec 25, 2023
762ab89
Update news.json
actions-user Dec 26, 2023
be71f8b
Update packages.json
actions-user Dec 26, 2023
3b34cb0
update pkg
lifeparticle Dec 26, 2023
4dee73d
changelog
lifeparticle Dec 26, 2023
b63a7d0
Merge pull request #392 from lifeparticle/pkg-update
lifeparticle Dec 26, 2023
6206012
update .yarnrc.yml
lifeparticle Dec 26, 2023
c8256c3
update postinstall
lifeparticle Dec 26, 2023
30d2c23
update postinstall
lifeparticle Dec 26, 2023
8a402d5
add tests
lifeparticle Dec 26, 2023
7baffa2
fix file name
lifeparticle Dec 26, 2023
e5d193c
fix faker deprecation warnings
lifeparticle Dec 26, 2023
069b817
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Dec 26, 2023
ddbdb57
add tests for markdown table
lifeparticle Dec 26, 2023
d1f934a
fix failing tests
lifeparticle Dec 26, 2023
2ad7599
fefactor
lifeparticle Dec 26, 2023
2a8be65
Merge pull request #386 from lifeparticle/Sonarqube-tableGenerator-fix
lifeparticle Dec 26, 2023
95e3409
fix bug
lifeparticle Dec 26, 2023
058062e
tidy testing
lifeparticle Dec 26, 2023
d9dbd49
downgrade pkh
lifeparticle Dec 26, 2023
e1c71cd
fix url
lifeparticle Dec 26, 2023
200f3e3
singular to plural
lifeparticle Dec 26, 2023
a892d42
help text for TOC
lifeparticle Dec 26, 2023
5143ed2
Update news.json
actions-user Dec 27, 2023
9f3d173
Update packages.json
actions-user Dec 27, 2023
6bcec05
fix feature data
lifeparticle Dec 27, 2023
3e45e65
Update news.json
actions-user Dec 28, 2023
ed55699
Update packages.json
actions-user Dec 28, 2023
ab741a1
Update news.json
actions-user Dec 29, 2023
dee23a8
Update packages.json
actions-user Dec 29, 2023
0086da4
mimetype refactor
lifeparticle Dec 29, 2023
fad6178
mimetype refactor
lifeparticle Dec 29, 2023
89c182a
fix imports
lifeparticle Dec 29, 2023
4bb5017
fix sonar cloud issues
lifeparticle Dec 29, 2023
08e6105
add surveys under resource
lifeparticle Dec 29, 2023
73cb70f
Update news.json
actions-user Dec 30, 2023
cf383bd
Update packages.json
actions-user Dec 30, 2023
de650da
add pwa
lifeparticle Dec 30, 2023
23b8cf3
Update README.md
lifeparticle Dec 30, 2023
20f5559
refactor file converter
lifeparticle Dec 30, 2023
bc975d3
refactor file converter
lifeparticle Dec 30, 2023
9d88d9f
refactor file converter
lifeparticle Dec 30, 2023
fcd95fd
refactor file converter
lifeparticle Dec 30, 2023
4d627f0
fix sonar cloud issue
lifeparticle Dec 30, 2023
10017a2
fix sonar cloud issue
lifeparticle Dec 30, 2023
cc33f8c
Update issue templates
lifeparticle Dec 30, 2023
b12b6c0
Update news.json
actions-user Dec 31, 2023
78eb977
Update packages.json
actions-user Dec 31, 2023
86d4436
fix ui issues
lifeparticle Dec 31, 2023
17e4071
fix ui issues
lifeparticle Dec 31, 2023
0d75940
add file upload option in base64
lifeparticle Dec 31, 2023
501478c
tidy pwa
lifeparticle Dec 31, 2023
3d98d51
tidy pwa
lifeparticle Dec 31, 2023
45ea382
tidy pwa
lifeparticle Dec 31, 2023
bd74621
fix diffchecker scroll bug
lifeparticle Dec 31, 2023
368b17a
refactor
lifeparticle Dec 31, 2023
3cf7912
fix shades and tints ui issue, happy new year
lifeparticle Dec 31, 2023
6b4c867
refactor
lifeparticle Dec 31, 2023
1bafb4e
Update news.json
actions-user Jan 1, 2024
295e668
Update packages.json
actions-user Jan 1, 2024
937e8b8
scaffdog
lifeparticle Jan 1, 2024
761cfe2
Update FAQ.md
lifeparticle Jan 1, 2024
a2e4fc6
Update page.md
lifeparticle Jan 1, 2024
bb652c2
rm utils folders
lifeparticle Jan 1, 2024
289325f
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Jan 1, 2024
9be1e1a
Update FAQ.md
lifeparticle Jan 1, 2024
b6c3ea4
Update news.json
actions-user Jan 2, 2024
b982fe4
Update packages.json
actions-user Jan 2, 2024
5220a19
Update readme
lifeparticle Jan 2, 2024
a449ca9
Update CONTRIBUTING.md
lifeparticle Jan 2, 2024
14cee5f
Update news.json
actions-user Jan 3, 2024
c2683bb
Update packages.json
actions-user Jan 3, 2024
ad30d88
handle win
lifeparticle Jan 3, 2024
d0fecd1
fix te
lifeparticle Jan 3, 2024
6240970
Update news.json
actions-user Jan 4, 2024
ed20d5b
Update packages.json
actions-user Jan 4, 2024
730809f
update home page
lifeparticle Jan 4, 2024
47bc1ed
tidy
lifeparticle Jan 4, 2024
4256437
fix build
lifeparticle Jan 4, 2024
fbb5316
Inline CSS bug fixed
lifeparticle Jan 4, 2024
8ca9b16
add missing help texts
lifeparticle Jan 4, 2024
427ad74
fix home page scroll
lifeparticle Jan 4, 2024
ecea4dc
home page ux
lifeparticle Jan 4, 2024
790eb55
re order
lifeparticle Jan 4, 2024
be03a8a
fix homepage ui
lifeparticle Jan 4, 2024
2ce4288
tests: add tests to helper.ts
martindevelops21 Jan 4, 2024
12063f1
tests: add comments in helper.test and add tests to useNewsFeed
martindevelops21 Jan 4, 2024
ccf021f
tests: add tests to newfeed.tsx
martindevelops21 Jan 4, 2024
596ae4f
tests: add test kit, export function in helper, and export props type…
martindevelops21 Jan 4, 2024
e37b6ce
tests: install project and configure vite to include ts files for tests
martindevelops21 Jan 4, 2024
63d2c00
Update news.json
actions-user Jan 5, 2024
1a0c432
Update packages.json
actions-user Jan 5, 2024
7620d3d
fix home page ui
lifeparticle Jan 5, 2024
747f764
Update FAQ.md
lifeparticle Jan 5, 2024
05ce710
new FlexboxGenerator component added, base layout copied from boxshadow
Jan 5, 2024
308919f
tests: add absolute path to test, remove lock, and add changelog entry
martindevelops21 Jan 5, 2024
d5f487a
Merge pull request #408 from lifeparticle/tests/newsfeed-msw-integration
lifeparticle Jan 5, 2024
5c1976f
add yarn lock
lifeparticle Jan 5, 2024
625163a
Update news.json
actions-user Jan 6, 2024
6bee7ac
update faq
lifeparticle Jan 6, 2024
60b9a81
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Jan 6, 2024
3b758ac
Update packages.json
actions-user Jan 6, 2024
b3d5122
Update README.md
lifeparticle Jan 6, 2024
a1a7f83
tidy doco
lifeparticle Jan 6, 2024
a042716
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Jan 6, 2024
8dca1a8
Update CONTRIBUTING.md
lifeparticle Jan 6, 2024
ab3ce41
Update doco
lifeparticle Jan 6, 2024
4deb1fa
Update CONTRIBUTING.md
lifeparticle Jan 6, 2024
e9ead62
Update CONTRIBUTING.md
lifeparticle Jan 6, 2024
bc1fa69
Update FAQ.md
lifeparticle Jan 6, 2024
16e3a15
Update README.md
lifeparticle Jan 6, 2024
0f715ae
fix home ui
lifeparticle Jan 6, 2024
f6c731c
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Jan 6, 2024
4358d0e
flexbox container initial work done. need to do some minor css changes
Jan 6, 2024
08e292c
Update news.json
actions-user Jan 7, 2024
1d812ad
Update packages.json
actions-user Jan 7, 2024
cc405a7
sorted route data content, add types for flexbox css class values, fi…
Jan 7, 2024
5c55887
Merge pull request #410 from iimamul/flexbox-406
lifeparticle Jan 7, 2024
071c661
refactor FlexBox
lifeparticle Jan 7, 2024
011e315
tidy
lifeparticle Jan 7, 2024
44dbf24
fix sonar cloud issue
lifeparticle Jan 7, 2024
0f33f90
tidy
lifeparticle Jan 7, 2024
8b588c1
Update news.json
actions-user Jan 8, 2024
7ec451b
Update packages.json
actions-user Jan 8, 2024
457e68e
scaffdog update
lifeparticle Jan 8, 2024
8a0830f
Merge branch 'main' of github.com:lifeparticle/binarytree
lifeparticle Jan 8, 2024
791e803
child items' css generator added
iimamul Jan 8, 2024
a3232e7
Update news.json
actions-user Jan 9, 2024
bc48180
Update packages.json
actions-user Jan 9, 2024
e84523c
fix1: removing all item generate error.
iimamul Jan 9, 2024
244aeb7
code rearranged
iimamul Jan 9, 2024
e29febe
extracted two child component from FlexboxGenerator.tsx
iimamul Jan 9, 2024
db38110
fixed eslint error
iimamul Jan 9, 2024
b437e07
eslint warning skip
iimamul Jan 9, 2024
d304bb2
Update news.json
actions-user Jan 10, 2024
e0233aa
Update packages.json
actions-user Jan 10, 2024
180e24a
Update news.json
actions-user Jan 11, 2024
786ba13
Update packages.json
actions-user Jan 11, 2024
c2c093d
Update news.json
actions-user Jan 12, 2024
207f2b7
Update packages.json
actions-user Jan 12, 2024
d29b3fa
Update news.json
actions-user Jan 13, 2024
3fe3aca
Update packages.json
actions-user Jan 13, 2024
22785a4
Uppercase
lifeparticle Jan 13, 2024
1ebb135
Merge branch 'lifeparticle:main' into flexbox-406
iimamul Jan 13, 2024
731b3fe
Update news.json
actions-user Jan 14, 2024
48e283b
Update packages.json
actions-user Jan 14, 2024
29f0204
Delete ui/TESTING.md
lifeparticle Jan 14, 2024
2ae4592
Merge branch 'lifeparticle:main' into flexbox-406
iimamul Jan 14, 2024
792d77d
Code refactored
iimamul Jan 14, 2024
299d7e3
code refactored
iimamul Jan 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: [lifeparticle]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**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.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**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.
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- :white_check_mark: -->

# :white_large_square: UI

- [ ] Identify and resolve any new warnings in the console
- [ ] Identify and resolve any new errors in the console
- [ ] If there are modifications to configurations such as `vite.config.ts`, `tsconfig.json` etc., ensure to include a description

# :white_large_square: Automation Scripts

- [ ] Identify and resolve any new warnings in the console
- [ ] Identify and resolve any new errors in the console
- [ ] If there are modifications to configurations such as `vite.config.ts`, `tsconfig.json` etc., ensure to include a description
82 changes: 82 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '40 17 * * 2'

jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
42 changes: 42 additions & 0 deletions .github/workflows/news.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Fetch News

on:
schedule:
- cron: "0 0 * * *"

jobs:
fetch-news:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: api/news
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.16.1"

- name: Install Yarn
run: |
corepack enable
corepack prepare yarn@stable --activate

- name: Install dependencies
run: yarn install --immutable

- name: Run
env:
NEWS_API_KEY: ${{ secrets.NEWS_API_KEY }}
run: yarn start

- name: Commit and push if changed
run: |-
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add news.json
git commit -m "Update news.json" || true
git push
40 changes: 40 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Fetch Latest packages

on:
schedule:
- cron: "0 0 * * *"

jobs:
npm-packages:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: api/npm-packages
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.16.1"

- name: Install Yarn
run: |
corepack enable
corepack prepare yarn@stable --activate

- name: Install dependencies
run: yarn install --immutable

- name: Run
run: yarn start

- name: Commit and push if changed
run: |-
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add packages.json
git commit -m "Update packages.json" || true
git push
20 changes: 20 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
on:
push:
branches:
- main
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/ui-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: UI PR

on:
pull_request:
branches: main

jobs:
ui-pr:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ui
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.16.1"

- name: Install Yarn
run: |
corepack enable
corepack prepare yarn@stable --activate
- name: yarn install
run: yarn install --immutable

- name: Run Tests
run: yarn test

- name: Run ESLint
run: yarn lint

- name: Danger
run: yarn danger ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
.DS_Store
.env
node_modules/
yarn-error.log
.yarn/*

Loading