-
-
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.
- Loading branch information
Showing
6 changed files
with
8,648 additions
and
8,648 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 |
---|---|---|
@@ -1,66 +1,66 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"node": {}, | ||
"webpack": { | ||
"config": "./webpack/webpack.config.js", | ||
"env": { | ||
"CI": true | ||
} | ||
} | ||
} | ||
}, | ||
"extends": "airbnb-base", | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module", | ||
"allowImportExportEverywhere": true | ||
}, | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1, | ||
"ignoredNodes": [ | ||
"TemplateLiteral" | ||
] | ||
} | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"semi": [ | ||
"error", | ||
"never" | ||
], | ||
"no-console": "off", | ||
"no-plusplus": "off", | ||
"no-param-reassign": "off", | ||
"no-nested-ternary": "off", | ||
"import/no-dynamic-require": "off", | ||
"global-require": "off", | ||
"import/no-cycle": "off", | ||
"no-bitwise": "off", | ||
"class-methods-use-this": "off", | ||
"max-classes-per-file": "off", | ||
"no-async-promise-executor": "off", | ||
"template-curly-spacing": "off", | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"args": "none" | ||
} | ||
] | ||
} | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"node": {}, | ||
"webpack": { | ||
"config": "./webpack/webpack.config.js", | ||
"env": { | ||
"CI": true | ||
} | ||
} | ||
} | ||
}, | ||
"extends": "airbnb-base", | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module", | ||
"allowImportExportEverywhere": true | ||
}, | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1, | ||
"ignoredNodes": [ | ||
"TemplateLiteral" | ||
] | ||
} | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"semi": [ | ||
"error", | ||
"never" | ||
], | ||
"no-console": "off", | ||
"no-plusplus": "off", | ||
"no-param-reassign": "off", | ||
"no-nested-ternary": "off", | ||
"import/no-dynamic-require": "off", | ||
"global-require": "off", | ||
"import/no-cycle": "off", | ||
"no-bitwise": "off", | ||
"class-methods-use-this": "off", | ||
"max-classes-per-file": "off", | ||
"no-async-promise-executor": "off", | ||
"template-curly-spacing": "off", | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"args": "none" | ||
} | ||
] | ||
} | ||
} |
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,75 +1,75 @@ | ||
name: Build Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
|
||
steps: | ||
- name: Start GitHub Action | ||
uses: actions/checkout@v1 | ||
- name: Init Git submodules | ||
uses: snickerbockers/submodules-init@v4 | ||
- name: Install Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Dependencies | ||
run: | | ||
npm i yarn --no-save | ||
yarn install --frozen-lockfile | ||
- name: Build | ||
env: | ||
PRERELEASE: "${{ github.event.release.prerelease }}" | ||
CHANGELOG: ${{ github.event.release.html_url }} | ||
run: | | ||
if [[ $PRERELEASE == "true" ]]; then yarn run wg --env.CI --env.CHANGELOG="$CHANGELOG"; else yarn run build --env.CI; fi | ||
- name: Test | ||
run: | | ||
yarn test | ||
- name: Archive Release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
filename: "build.zip" | ||
path: "build" | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build.zip | ||
asset_name: build.zip | ||
asset_content_type: application/zip | ||
- uses: chrnorm/deployment-action@releases/v1 | ||
name: Request Production Deployment | ||
if: "!github.event.release.prerelease" | ||
id: deployment | ||
with: | ||
token: "${{ github.token }}" | ||
target_url: https://monoweb.app | ||
ref: "${{ github.event.release.tag_name }}" | ||
auto_merge: "false" | ||
inititial_status: pending | ||
environment: production | ||
description: "Release publication" | ||
- uses: chrnorm/deployment-action@releases/v1 | ||
name: Request Pre-Release Deployment | ||
if: "github.event.release.prerelease" | ||
id: pre-release-deployment | ||
with: | ||
token: "${{ github.token }}" | ||
target_url: https://beta.monoweb.app | ||
ref: "${{ github.event.release.tag_name }}" | ||
auto_merge: "false" | ||
inititial_status: pending | ||
environment: wg | ||
description: "Pre-Release publication" | ||
name: Build Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
|
||
steps: | ||
- name: Start GitHub Action | ||
uses: actions/checkout@v1 | ||
- name: Init Git submodules | ||
uses: snickerbockers/submodules-init@v4 | ||
- name: Install Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Dependencies | ||
run: | | ||
npm i yarn --no-save | ||
yarn install --frozen-lockfile | ||
- name: Build | ||
env: | ||
PRERELEASE: "${{ github.event.release.prerelease }}" | ||
CHANGELOG: ${{ github.event.release.html_url }} | ||
run: | | ||
if [[ $PRERELEASE == "true" ]]; then yarn run wg --env.CI --env.CHANGELOG="$CHANGELOG"; else yarn run build --env.CI; fi | ||
- name: Test | ||
run: | | ||
yarn test | ||
- name: Archive Release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
filename: "build.zip" | ||
path: "build" | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./build.zip | ||
asset_name: build.zip | ||
asset_content_type: application/zip | ||
- uses: chrnorm/deployment-action@releases/v1 | ||
name: Request Production Deployment | ||
if: "!github.event.release.prerelease" | ||
id: deployment | ||
with: | ||
token: "${{ github.token }}" | ||
target_url: https://monoweb.app | ||
ref: "${{ github.event.release.tag_name }}" | ||
auto_merge: "false" | ||
inititial_status: pending | ||
environment: production | ||
description: "Release publication" | ||
- uses: chrnorm/deployment-action@releases/v1 | ||
name: Request Pre-Release Deployment | ||
if: "github.event.release.prerelease" | ||
id: pre-release-deployment | ||
with: | ||
token: "${{ github.token }}" | ||
target_url: https://beta.monoweb.app | ||
ref: "${{ github.event.release.tag_name }}" | ||
auto_merge: "false" | ||
inititial_status: pending | ||
environment: wg | ||
description: "Pre-Release publication" |
Oops, something went wrong.