forked from ueckoken/plarail2021-soft
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #128 from ueckoken/dir-restruction
restruct frontend dir
- Loading branch information
Showing
62 changed files
with
3,392 additions
and
188 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
paths: | ||
- "frontend/**/*" | ||
- "backend/multicaster/*" | ||
branches-ignore: | ||
- "main" | ||
- "deployment" | ||
|
@@ -13,15 +14,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: "frontend/" | ||
working-directory: "frontend/site" | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ./frontend/.nvmrc | ||
node-version-file: ./frontend/site/.nvmrc | ||
cache: yarn | ||
cache-dependency-path: ./frontend/yarn.lock | ||
cache-dependency-path: ./frontend/site/yarn.lock | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn fmt | ||
- name: Count changes | ||
|
@@ -38,19 +39,19 @@ jobs: | |
git push | ||
if: steps.changes.outputs.count > 0 | ||
|
||
prettier-videocast: | ||
prettier-momo-sender: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: "frontend/videoCast" | ||
working-directory: "frontend/momo_sender" | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ./frontend/videoCast/.nvmrc | ||
node-version-file: ./frontend/momo_sender/.nvmrc | ||
cache: npm | ||
cache-dependency-path: ./frontend/videoCast/package-lock.json | ||
cache-dependency-path: ./frontend/momo_sender/package-lock.json | ||
- run: npm ci | ||
- run: npm run fmt | ||
- uses: EndBug/add-and-commit@v9 | ||
|
@@ -59,19 +60,40 @@ jobs: | |
author_email: [email protected] | ||
message: format by prettier | ||
|
||
black-videoCast: | ||
prettier-skyway-receiver: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: "frontend/videoCast" | ||
working-directory: "frontend/skyway_receiver" | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ./frontend/skyway_receiver/.nvmrc | ||
cache: npm | ||
cache-dependency-path: ./frontend/skyway_receiver/package-lock.json | ||
- run: npm ci | ||
- run: npm run fmt | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: format BOT | ||
author_email: [email protected] | ||
message: format by prettier | ||
|
||
black-multicaster: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: "backend/multicaster" | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: pip | ||
cache-dependency-path: ./frontend/videoCast/requirements-dev.txt | ||
cache-dependency-path: ./backend/multicaster/requirements-dev.txt | ||
- run: pip install -r requirements-dev.txt | ||
- run: black . | ||
- uses: EndBug/add-and-commit@v9 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: WebRTC receiver build test | ||
|
||
defaults: | ||
run: | ||
working-directory: ./frontend/skyway_receiver | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ./frontend/skyway_receiver/.nvmrc | ||
cache: npm | ||
cache-dependency-path: ./frontend/skyway_receiver/package-lock.json | ||
- name: dependency-install | ||
run: npm ci | ||
- name: build | ||
run: npm run build |
Oops, something went wrong.