-
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 7204e8e
Showing
19 changed files
with
25,842 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,25 @@ | ||
# Файл с настройками для редактора. | ||
# | ||
# Если вы разрабатываете в редакторе WebStorm, BBEdit, Coda или SourceLair | ||
# этот файл уже поддерживается и не нужно производить никаких дополнительных | ||
# действий. | ||
# | ||
# Если вы ведёте разработку в другом редакторе, зайдите | ||
# на https://editorconfig.org и в разделе «Download a Plugin» | ||
# скачайте дополнение для вашего редактора. | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
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 = { | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": "airbnb-base", | ||
"overrides": [ | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"import/extensions": ["error", "ignorePackages"], | ||
} | ||
} |
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 @@ | ||
* text eol=lf | ||
|
||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.webp binary | ||
*.woff binary | ||
*.woff2 binary |
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,42 @@ | ||
# Name of workflow | ||
name: CI | ||
|
||
# Trigger the workflow on push or pull request | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
|
||
# The type of machine to run the job on | ||
runs-on: macos-latest | ||
|
||
strategy: | ||
# Node versions list | ||
matrix: | ||
node-version: [19.x] | ||
|
||
steps: | ||
# Check-out repository under GitHub workspace | ||
# https://github.com/actions/checkout | ||
- uses: actions/checkout@v2 | ||
# Step's name | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
# Configures the node version used on GitHub-hosted runners | ||
# https://github.com/actions/setup-node | ||
uses: actions/setup-node@v3 | ||
# The Node.js version to configure | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: npm ci, build | ||
# Install and build project | ||
run: | | ||
make ci | ||
# Add environment variables | ||
env: | ||
CI: true | ||
- name: Run linter | ||
# Run Linter | ||
run: | | ||
make 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,66 @@ | ||
name: Github Pages with Gulp | ||
|
||
on: | ||
push: | ||
branches: ["*"] | ||
|
||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "lts/*" | ||
|
||
- name: Build | ||
run: | | ||
npm ci | ||
npm run build | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build | ||
path: build/ | ||
|
||
deploy: | ||
needs: build | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: "." | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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 @@ | ||
.DS_Store | ||
.idea | ||
*.ai | ||
*.log | ||
*.psd | ||
*.sublime* | ||
node_modules | ||
npm-debug.* | ||
src/css/*.css | ||
src/css/*.map | ||
Thumbs.db | ||
*.code-workspace | ||
**/CNAME | ||
coverage | ||
build |
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": "clock", | ||
"disallowIdLiterals": null, | ||
"validateAttributeQuoteMarks": "\"", | ||
"validateAttributeSeparator": " " | ||
} |
Oops, something went wrong.