Skip to content

Commit

Permalink
Исправление EOL на LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Sominemo committed Jun 30, 2020
1 parent 044f815 commit b47bb3e
Show file tree
Hide file tree
Showing 6 changed files with 8,648 additions and 8,648 deletions.
130 changes: 65 additions & 65 deletions .eslintrc.json
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"
}
]
}
}
150 changes: 75 additions & 75 deletions .github/workflows/release.yml
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"
Loading

0 comments on commit b47bb3e

Please sign in to comment.