-
Notifications
You must be signed in to change notification settings - Fork 15
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
3 changed files
with
368 additions
and
396 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,37 +1,22 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 4 | ||
tab_width = 4 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
indent_brace_style = 1TBS | ||
spaces_around_operators = true | ||
quote_type = auto | ||
|
||
[{*.json,*.json.example,*.gyp,*.yml,*.yaml,*.workflow}] | ||
[package.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[{*.py,*.asm}] | ||
indent_style = space | ||
|
||
[*.py] | ||
indent_size = 4 | ||
|
||
[*.asm] | ||
indent_size = 8 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# Ideal settings - some plugins might support these. | ||
[*.js] | ||
quote_type = single | ||
|
||
[{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}] | ||
curly_bracket_next_line = false | ||
spaces_around_operators = true | ||
spaces_around_brackets = outside | ||
# close enough to 1TB | ||
indent_brace_style = K&R |
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 |
---|---|---|
|
@@ -14,27 +14,16 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Print Node.js Version | ||
run: node --version | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
env: | ||
CI: true | ||
|
||
- name: Run "build" step | ||
run: npm run build --if-present | ||
env: | ||
CI: true | ||
|
||
- name: Run tests | ||
run: npm test | ||
env: | ||
CI: true | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Dependencies | ||
run: npm install --no-package-lock | ||
|
||
- name: Run tests | ||
run: npm run build && npm test |
Oops, something went wrong.