-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: integration with GitHub Actions and Codacy
- Loading branch information
Showing
14 changed files
with
146 additions
and
58 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 @@ | ||
extends @1stg/browserslist-config/modern |
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,5 @@ | ||
{ | ||
"extends": [ | ||
"@1stg" | ||
] | ||
} |
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 @@ | ||
{ | ||
"extends": "@1stg/eslint-config/loose", | ||
"overrides": [ | ||
{ | ||
"files": "*.{vue,ts,tsx}", | ||
"extends": [ | ||
"@nuxtjs/eslint-config-typescript", | ||
"vuetify", | ||
"@1stg/eslint-config/loose" | ||
] | ||
} | ||
] | ||
} |
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,39 @@ | ||
name: Node CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
default: | ||
strategy: | ||
matrix: | ||
node: [12] | ||
os: [macOS-latest, ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Setup yarn | ||
run: | | ||
curl -o- -L https://yarnpkg.com/install.sh | bash | ||
export PATH="$HOME/.yarn/bin:$PATH" | ||
- name: Install Dependencies | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Lint, Build | ||
run: | | ||
yarn lint | ||
yarn build | ||
env: | ||
EFF_NO_LINK_RULES: 'true' | ||
PARSER_NO_WATCH: 'true' | ||
|
||
- name: Code Checks | ||
if: matrix.os == 'macOS-latest' | ||
run: | | ||
yarn global add @codechecks/client @codechecks/build-size-watcher @codechecks/type-coverage-watcher typescript | ||
codechecks | ||
env: | ||
CI: 'true' | ||
CC_SECRET: ${{ secrets.CC_SECRET }} |
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 @@ | ||
"@1stg/prettier-config" |
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,5 @@ | ||
{ | ||
"plugins": [ | ||
"@1stg/remark-config" | ||
] | ||
} |
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": [ | ||
"@1stg/stylelint-config/scss/loose", | ||
"@1stg/stylelint-config/modules" | ||
] | ||
} |
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,3 +1,13 @@ | ||
# Claps.dev | ||
|
||
Help you funding the creators and projects you appreciate with crypto currencies. | ||
[](https://github.com/JounQin/Claps.dev/actions?query=workflow%3A%22Node+CI%22) | ||
[](https://www.codacy.com/app/JounQin/Claps.dev) | ||
[](https://david-dm.org/JounQin/Claps.dev) | ||
[](https://david-dm.org/JounQin/Claps.dev?type=dev) | ||
|
||
[](https://conventionalcommits.org) | ||
[](https://standardjs.com) | ||
[](https://github.com/prettier/prettier) | ||
[](https://codechecks.io) | ||
|
||
> Help you funding the creators and projects you appreciate with crypto currencies. |
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,12 @@ | ||
checks: | ||
- name: build-size-watcher | ||
options: | ||
files: | ||
- path: 'dist/**/*.*' | ||
- path: 'node_modules/.nuxt/dist/**/*.*' | ||
- name: type-coverage-watcher | ||
options: | ||
ignoreCatch: true | ||
ignoreFiles: | ||
- '**/*.d.ts' | ||
strict: true |
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
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
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