This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
45fcf39
commit beea694
Showing
55 changed files
with
11,010 additions
and
4,251 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,13 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{y,ya}ml] | ||
indent_style = space | ||
indent_size = 2 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,132 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js for use with Actions | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.14.1' | ||
- name: Install Yarn | ||
run: curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies with Yarn | ||
run: yarn install | ||
- name: Build for production | ||
run: yarn run build | ||
- name: Export static site | ||
run: yarn run export | ||
- name: Upload compiled TypeScript | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: exported_site | ||
path: out | ||
compile: | ||
name: Compile | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js for use with Actions | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.14.1' | ||
- name: Install Yarn | ||
run: curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies with Yarn | ||
run: yarn install | ||
- name: Compile TypeScript | ||
run: yarn run tsc | ||
lint: | ||
name: Lint | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js for use with Actions | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.14.1' | ||
- name: Install Yarn | ||
run: curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies with Yarn | ||
run: yarn install | ||
- name: Lint with XO | ||
run: yarn run lint | ||
style: | ||
name: Check style | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout git repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js for use with Actions | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.14.1' | ||
- name: Install Yarn | ||
run: curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies with Yarn | ||
run: yarn install | ||
- name: Check style with Prettier | ||
run: yarn run 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
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,14 +1,7 @@ | ||
{ | ||
"deepscan.enable": true, | ||
"cSpell.words": [ | ||
"audioandvideo", | ||
"audioonly", | ||
"frameguard", | ||
"highestaudio", | ||
"keybase", | ||
"signale", | ||
"webapp", | ||
"youtube", | ||
"ytdl" | ||
] | ||
} | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": false | ||
}, | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
Oops, something went wrong.