forked from NIUANULP/nulp-elite-ui
-
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.
- Loading branch information
1 parent
40cbef5
commit 02269ab
Showing
4,132 changed files
with
1,783,981 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
labels: bug | ||
--- | ||
|
||
### Description | ||
|
||
Please describe your issue in few words here. | ||
|
||
#### How to reproduce | ||
|
||
Describe the bug and list the steps you used when the issue occurred. | ||
|
||
#### Screenshots | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
### Versions | ||
|
||
* Last commit id on master: | ||
* Operating System (lsb_release -a): | ||
* Browser [e.g. chrome, safari]: | ||
|
||
### Logs | ||
|
||
Any logs (if any) generated in |
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,17 @@ | ||
--- | ||
name: Feature request | ||
about: Request a new feature in Shiksha Frontend | ||
labels: enhancement | ||
--- | ||
|
||
### Description | ||
|
||
Please describe your situation in few words here. | ||
|
||
#### Steps followed and expected result | ||
|
||
Describe the steps followed by you and your expected results after following the steps. | ||
|
||
#### Screenshots | ||
|
||
If applicable, add screenshots to help explain your problem. |
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,18 @@ | ||
<!-- Please refer to CONTRIBUTING.md (https://github.com/shiksha-platform/frontend-modulefederation/blob/main/CONTRIBUTING.md) | ||
before creating the pull request to make sure you follow all the standards. --> | ||
|
||
## Description | ||
|
||
Please describe the changes in your pull request in few words here. | ||
|
||
### Changes | ||
|
||
List the changes done to fix a bug or introducing a new feature. | ||
|
||
## How to test | ||
|
||
Describe the steps required to test the changes proposed in the pull request. | ||
|
||
Please consider using the closing keyword if the pull request is proposed to | ||
fix an issue already created in the repository | ||
(https://help.github.com/articles/closing-issues-using-keywords/) |
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,37 @@ | ||
name: CI/CD check | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run prettier test | ||
run: yarn format:check | ||
|
||
# - name: Run the tests and generate coverage report | ||
# run: yarn test | ||
|
||
- name: Build | ||
run: yarn 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: CICD | ||
on: | ||
push: | ||
branches: | ||
- newaltv1 | ||
jobs: | ||
build: | ||
name: build-deploy-to-sandbox | ||
environment: sandbox | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build | ||
run: | | ||
yarn install | ||
yarn workspace @shiksha/common-lib build | ||
yarn install | ||
yarn build | ||
- name: Install SSH key | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
known_hosts: ${{ secrets.SSH_HOST }} | ||
- name: Adding known hosts | ||
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts | ||
- name: Copy Package | ||
run: | | ||
sh ./scripts/pack-prod-build.sh | ||
rsync shiksha-ui.tar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/alt.uniteframework.io/shiksha-ui.tar | ||
- name: Deploy | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
script: | | ||
cd /var/www/alt.uniteframework.io/public | ||
rm -rf * | ||
cp ../shiksha-ui.tar ./ | ||
tar -xvf shiksha-ui.tar . |
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,40 @@ | ||
# 3pd | ||
bower_components/* | ||
jspm_packages/* | ||
node_modules/* | ||
|
||
# Cache files | ||
.cache | ||
.eslintcache | ||
.parcel-cache | ||
.npm | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/install-state.gz | ||
|
||
# Dist / builds | ||
build/* | ||
builds/* | ||
dist/* | ||
prod-build/* | ||
*.tar | ||
*.zip | ||
|
||
# Editor-related files | ||
.idea | ||
.vscode | ||
.vscode-test | ||
|
||
# Env files | ||
.env | ||
.env.* | ||
|
||
# Log files | ||
lerna-debug.log | ||
npm-debug.log | ||
yarn-error.log | ||
yarn-debug.log | ||
.serverless | ||
|
||
# OS files | ||
.DS_Store |
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,18 @@ | ||
# Dependency directories | ||
node_modules/ | ||
|
||
# dependencies | ||
package.json | ||
package-lock.json | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
/**/build | ||
/prod-build | ||
.github/ | ||
/public | ||
.min.js | ||
.min.css |
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,6 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"useTabs": false | ||
} |
Oops, something went wrong.