Skip to content

Commit

Permalink
fix: ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
snapre committed Sep 5, 2023
1 parent e235161 commit 34bdc0f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm i npm@6 -g
npm i
run: npm i

- name: Continuous integration
run: npm run test

- name: Code coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
run: npm run lint
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
coverage
.vscode
*.js
*.jsx
app
17 changes: 17 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict';

module.exports = {
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: 'as-needed',
trailingComma: 'all',
arrowParens: 'avoid',
requirePragma: false,
insertPragma: false,
htmlWhitespaceSensitivity: 'ignore',
endOfLine: 'lf',
embeddedLanguageFormatting: 'auto',
bracketSpacing: true
};

0 comments on commit 34bdc0f

Please sign in to comment.