-
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.
Merge branch 'develop' into feature/45
- Loading branch information
Showing
440 changed files
with
337,464 additions
and
35,511 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,4 @@ | ||
{ | ||
"github": { "auth": { "token": ""}}, | ||
"arango": { "host": "localhost", "port": "8529", "user": "root", "password":"openSesame"} | ||
} |
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,3 +1,4 @@ | ||
/node_modules | ||
/ui | ||
coverage/ | ||
/dist |
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,74 @@ | ||
name: Build Binocular | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
#env: set env if needed | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
services: | ||
|
||
arangodb: | ||
image: arangodb:3.7 | ||
ports: | ||
- 8529:8529 | ||
env: | ||
ARANGO_ROOT_PASSWORD: openSesame | ||
|
||
steps: | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Checkout Repository to scan | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: develop | ||
fetch-depth: 0 | ||
path: test | ||
|
||
- name: Set .pupilrc variables | ||
uses: microsoft/variable-substitution@v1 | ||
with: | ||
files: .binocularrc_ci | ||
env: | ||
github.auth.token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Rename binocularrc | ||
run: mv .binocularrc_ci .binocularrc | ||
|
||
- name: Set node version | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run eslint | ||
run: npm run eslint | ||
|
||
- name: Run binocular | ||
run: node binocular.js --no-open --no-server ./test | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Publish artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: binocular_ui | ||
path: dist/ | ||
|
||
# - name: Run tests | ||
# run: npm run test | ||
|
||
# - name: Collect coverage | ||
# run: npm run 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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
coverage/ | ||
.pupilrc | ||
.binocularrc |
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 @@ | ||
{ | ||
"github": { | ||
"auth": { | ||
"type": "client", | ||
"token": "tnGQ3BuRV+xFVDtpn3vnq/cW8yKsIHrSLFf/i7KyQYg" | ||
} | ||
}, | ||
"arango": { | ||
"host": "localhost", | ||
"port": 8529, | ||
"user": "root", | ||
"password": "binocular" | ||
}, | ||
"indexers": { | ||
"its": "github", | ||
"ci": "travis" | ||
} | ||
} |
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,4 +1,4 @@ | ||
FROM node:8 | ||
FROM node:16 | ||
|
||
RUN npm config -g set user root | ||
|
||
|
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,8 @@ | ||
{ | ||
"presets": ["@babel/react", | ||
["@babel/preset-env", { | ||
"useBuiltIns": "usage", | ||
"corejs": 3 | ||
}] | ||
] | ||
} |
Oops, something went wrong.