-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move prettier to project root
- Loading branch information
1 parent
328ad71
commit 053b9f5
Showing
24 changed files
with
1,589 additions
and
1,531 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
name: build | ||
|
||
on: | ||
schedule: | ||
- cron: "50 3 * * *" # runs every day at 03:50 UTC to avoid high loads | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "50 3 * * *" # runs every day at 03:50 UTC to avoid high loads | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Use Node.js LTS (16.x) | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" | ||
- name: install yarn | ||
run: | | ||
npm install yarn --global | ||
- name: yarn | ||
run: | | ||
yarn | ||
- name: crawl data | ||
run: | | ||
yarn workspace crawler build | ||
- run: | | ||
yarn workspace ui build | ||
- name: Commit/Push build to docs branch | ||
run: | | ||
git config --global user.name 'marianfoo' | ||
git config --global user.email '[email protected]' | ||
git add docs -f | ||
git add packages/ui/src/model/data.json | ||
git add packages/ui/src/model/versions.json | ||
git commit -m "chore: build" | ||
git push origin HEAD:docs --force | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Use Node.js LTS (16.x) | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" | ||
- name: install yarn | ||
run: | | ||
npm install yarn --global | ||
- name: yarn | ||
run: | | ||
yarn | ||
- name: crawl data | ||
run: | | ||
yarn workspace crawler build | ||
- run: | | ||
yarn workspace ui build | ||
- name: Commit/Push build to docs branch | ||
run: | | ||
git config --global user.name 'marianfoo' | ||
git config --global user.email '[email protected]' | ||
git add docs -f | ||
git add packages/ui/src/model/data.json | ||
git add packages/ui/src/model/versions.json | ||
git commit -m "chore: build" | ||
git push origin HEAD:docs --force |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ node_modules/ | |
webapp | ||
dist | ||
docs | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
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,11 @@ | ||
# Ignore specific files | ||
_config.yml | ||
|
||
# Ignore files by extension | ||
/**/*.md | ||
/**/*.svg | ||
|
||
# Ignore folders | ||
/docs/** | ||
/packages/ui/src/font-awesome/** | ||
/packages/ui/webapp/** |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"singleQuote": false, | ||
"printWidth": 200, | ||
"endOfLine": "lf", | ||
"tabWidth": 4, | ||
"useTabs": true, | ||
"overrides": [ | ||
{ | ||
"files": ["*.yaml", "*.yml", "*.md", "*.json", "*.xml"], | ||
"options": { | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"xmlWhitespaceSensitivity": "ignore" | ||
} | ||
}, | ||
{ | ||
"files": ["*.properties"], | ||
"options": { | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"keySeparator": "=" | ||
} | ||
} | ||
] | ||
} |
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
Empty file.
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
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 was deleted.
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
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
Oops, something went wrong.