-
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.
feat(dashboard): admin ui & pagination with header (#21)
* feat(dashboard): admin ui & pagination with header
- Loading branch information
Showing
115 changed files
with
33,604 additions
and
134 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Admin - Deploy Manual" | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
heroku: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./admin | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: 'admin' | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" | ||
id: extract_branch | ||
- uses: akhileshns/[email protected] | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: ${{secrets.HEROKU_ADMIN}} | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
buildpack: "https://github.com/heroku/heroku-buildpack-nodejs" | ||
procfile: "web: npm run start:prod" | ||
env: | ||
HD_PORT: 80 | ||
HD_APP_VERSION: ${{ steps.extract_branch.outputs.branch }} |
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,30 @@ | ||
name: "Admin - Deploy Auto" | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
heroku: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./admin | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: 'admin' | ||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" | ||
id: extract_branch | ||
- uses: akhileshns/[email protected] | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: ${{secrets.HEROKU_ADMIN}} | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
buildpack: "https://github.com/heroku/heroku-buildpack-nodejs" | ||
procfile: "web: npm run start:prod" | ||
env: | ||
HD_PORT: 80 | ||
HD_APP_VERSION: ${{ steps.extract_branch.outputs.branch }} |
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,34 @@ | ||
name: "Admin - NodeJS Tests" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: ['*'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./admin | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: 'admin' | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install, build, and test | ||
run: | | ||
cd admin | ||
npm ci | ||
npm run build | ||
env: | ||
CI: true |
8 changes: 7 additions & 1 deletion
8
.github/workflows/heroku-manual.yml → .github/workflows/core-heroku-manual.yml
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
Oops, something went wrong.