-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 Merge pull request #20 from AssistantApps/develop
🔖 2.0.10
- Loading branch information
Showing
9 changed files
with
167 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
name: Check Pull Request | ||
run-name: CheckPullRequest | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
branches: main | ||
|
||
concurrency: | ||
group: 'pull_request' | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
pages: write | ||
|
||
jobs: | ||
paths-filter: | ||
name: Filter out non code changes | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
outputs: | ||
code-changed: ${{ steps.filter.outputs.src }} | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Filter Changed Files | ||
uses: AurorNZ/paths-filter@v4 | ||
id: filter | ||
with: | ||
filters: | | ||
src: | ||
- 'src/**/*' | ||
- '!src/**/*.test.*' | ||
check-version: | ||
needs: paths-filter | ||
if: needs.paths-filter.outputs.code-changed == 'true' | ||
name: Version number was bumped | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get New Version | ||
run: | | ||
new_version=$(npm pkg get version | xargs) | ||
echo "NEW=${new_version}" >> $GITHUB_ENV | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: Get Main Version | ||
run: | | ||
main_version=$(npm pkg get version | xargs) | ||
echo "MAIN=${main_version}" >> $GITHUB_ENV | ||
- name: Compare Versions | ||
run: | | ||
if [[ ${{ env.NEW }} == ${{ env.MAIN }} ]]; then | ||
exit 1 | ||
fi | ||
- name: Post PR Comment | ||
if: failure() | ||
uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: Please bump the version in package.json! | ||
refresh-message-position: true | ||
allow-repeats: true | ||
|
||
test-build: | ||
needs: paths-filter | ||
if: needs.paths-filter.outputs.code-changed == 'true' | ||
name: Build pages step is successful | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: 'npm' | ||
|
||
- name: Install packages | ||
run: npm ci --force | ||
|
||
- name: Build Pages | ||
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@import '../../../scss/scrollbar'; | ||
|
||
$listItemHeight: 2rem; | ||
|
||
.fusion { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
*::-webkit-scrollbar { | ||
width: 10px; | ||
background-color: var(--brand-primary-background); | ||
|
||
@media screen and (max-width: 800px) { | ||
width: 5px; | ||
} | ||
} | ||
|
||
*::-webkit-scrollbar-track { | ||
margin-top: -5px; | ||
margin-bottom: -5px; | ||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); | ||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); | ||
background-color: var(--brand-primary-background); | ||
} | ||
|
||
*::-webkit-scrollbar-thumb { | ||
border-radius: 10px; | ||
background-color: var(--brand-secondary); | ||
background-image: -webkit-linear-gradient( | ||
45deg, | ||
rgba(255, 255, 255, 0.2) 25%, | ||
transparent 25%, | ||
transparent 50%, | ||
rgba(255, 255, 255, 0.2) 50%, | ||
rgba(255, 255, 255, 0.2) 75%, | ||
transparent 75%, | ||
transparent | ||
); | ||
} | ||
|
||
.scrollbar-contain::-webkit-scrollbar-track { | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
box-shadow: none; | ||
-webkit-box-shadow: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters