-
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 #15 from ezpzlmnsqz1337/feat/change-ui
Feat/change UI
- Loading branch information
Showing
50 changed files
with
30,211 additions
and
25,317 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,5 @@ | ||
{ | ||
"projects": { | ||
"default": "big-robot-arm-ui" | ||
} | ||
} |
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,74 @@ | ||
name: NPM vue2/ts workflow | ||
on: | ||
push: | ||
branches: [ $default-branch ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 16 | ||
cache: 'npm' | ||
- name: Build project | ||
run: | | ||
npm ci | ||
npm run build | ||
- uses: montudor/action-zip@v1 | ||
with: | ||
args: zip -qq -r dist.zip dist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dist | ||
path: dist | ||
- run: echo "🍏 This job's status is ${{ job.status }}." | ||
|
||
test-unit: | ||
runs-on: ubuntu-latest | ||
needs: [build] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 16 | ||
cache: 'npm' | ||
- name: Run tests | ||
run: | | ||
npm ci | ||
npm run test:unit | ||
- uses: montudor/action-zip@v1 | ||
with: | ||
args: zip -qq -r coverage.zip coverage | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-reports | ||
path: coverage | ||
- run: echo "🍏 This job's status is ${{ job.status }}." | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: [build, test-unit] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 16 | ||
cache: 'npm' | ||
- run: | | ||
npm ci | ||
npm run build | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BIG_ROBOT_ARM_UI }}' | ||
channelId: live | ||
projectId: big-robot-arm-ui |
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 |
---|---|---|
|
@@ -22,5 +22,5 @@ pnpm-debug.log* | |
*.sln | ||
*.sw? | ||
|
||
# my files | ||
adafruitconfig.js | ||
# coverage | ||
/coverage |
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,16 @@ | ||
{ | ||
"hosting": { | ||
"public": "dist", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
] | ||
} | ||
} |
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,16 @@ | ||
module.exports = { | ||
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel', | ||
collectCoverage: true, | ||
collectCoverageFrom: [ | ||
'src/**/*.{ts,vue}', | ||
'!src/EventBus.ts', | ||
'!src/registerServiceWorker.ts', | ||
'!src/main.ts', | ||
'!src/shared.ts', | ||
'!src/store/store.ts', | ||
'!src/constants/**/*', | ||
'!src/plugins/**/*', | ||
'!src/router/**/*', | ||
'!src/assets/**/*' | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.