-
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
0 parents
commit 53ae034
Showing
96 changed files
with
18,390 additions
and
0 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,56 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:vue/vue3-recommended" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"parser": "@typescript-eslint/parser", | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"vue" | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
4 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"comma-dangle": ["error", "always-multiline"], | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"vue/no-v-html": "off", | ||
"vue/html-indent": [ | ||
"error", | ||
4 | ||
], | ||
"vue/component-tags-order": [ | ||
"error", | ||
{ | ||
"order": ["template", "script", "style"] | ||
} | ||
] | ||
} | ||
} |
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,20 @@ | ||
name: Build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: Install, build, and lint | ||
run: | | ||
npm ci | ||
npm run build | ||
npm run lint |
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,78 @@ | ||
name: Pinata Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
deploy-main: | ||
name: Deploy-Main | ||
|
||
runs-on: ubuntu-latest | ||
|
||
if: github.ref == 'refs/heads/main' | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
|
||
- name: Install ipfs-deploy | ||
run: npm install -g ipfs-deploy | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build Kovan | ||
run: npm run build-pinata | ||
env: | ||
APP_CHAIN_ID: 42 | ||
APP_GAS_PRICE: 100000000000 | ||
|
||
- name: Deploy Kovan | ||
run: ipfs-deploy ./dist -p pinata | ||
env: | ||
IPFS_DEPLOY_PINATA__API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__API_KEY }} | ||
IPFS_DEPLOY_PINATA__SECRET_API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__SECRET_API_KEY }} | ||
|
||
- name: Build Mainnet | ||
run: npm run build-pinata | ||
env: | ||
APP_CHAIN_ID: 1 | ||
APP_GAS_PRICE: 100000000000 | ||
|
||
- name: Deploy Mainnet | ||
run: ipfs-deploy ./dist -p pinata | ||
env: | ||
IPFS_DEPLOY_PINATA__API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__API_KEY }} | ||
IPFS_DEPLOY_PINATA__SECRET_API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__SECRET_API_KEY }} | ||
|
||
deploy-develop: | ||
name: Deploy-Develop | ||
|
||
runs-on: ubuntu-latest | ||
|
||
if: github.ref == 'refs/heads/develop' | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
|
||
- name: Install ipfs-deploy | ||
run: npm install -g ipfs-deploy | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build Beta | ||
run: npm run build-pinata | ||
env: | ||
APP_CHAIN_ID: 1 | ||
APP_GAS_PRICE: 100000000000 | ||
|
||
- name: Deploy Beta | ||
run: ipfs-deploy ./dist -p pinata | ||
env: | ||
IPFS_DEPLOY_PINATA__API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__API_KEY }} | ||
IPFS_DEPLOY_PINATA__SECRET_API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__SECRET_API_KEY }} |
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 @@ | ||
dist/ | ||
node_modules/ | ||
.env | ||
.idea |
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 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"indentation": 4 | ||
} | ||
} |
Oops, something went wrong.