-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from Neovici/feat/upgrade-repo
chore: upgrade repo
- Loading branch information
Showing
16 changed files
with
10,129 additions
and
32,892 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,7 @@ | ||
{ | ||
"extends": "./node_modules/@neovici/cfg/eslint", | ||
"rules": { | ||
"max-lines-per-function": 0, | ||
"import/group-exports": 0 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,52 +1,13 @@ | ||
--- | ||
name: Github CI | ||
name: CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- beta | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: Install | ||
run: npm ci | ||
|
||
- name: Lint commit messages | ||
run: npx commitlint --from origin/master --to HEAD | ||
|
||
- name: ESLint | ||
run: npm run lint | ||
|
||
- name: Test and report | ||
env: | ||
CC_TEST_REPORTER_ID: 81d22efe8639b796030f400895f84dbc848a75476093ac725f0dbb0739408ed4 | ||
GIT_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || github.ref }} | ||
GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | ||
NEO_CC_URL: https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 | ||
NEO_CC: ./cc-test-reporter | ||
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | ||
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
run: | | ||
([[ -e $NEO_CC ]] || curl -L $NEO_CC_URL > $NEO_CC) && chmod +x $NEO_CC | ||
$NEO_CC before-build | ||
echo "::add-matcher::.github/karma-problem-matcher.json" | ||
npm test | ||
$NEO_CC after-build --exit-code $? | ||
- name: Semantic release | ||
run: npx semantic-release | ||
if: success() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
build: | ||
uses: Neovici/cfg/.github/workflows/forge.yml@master | ||
secrets: inherit |
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 @@ | ||
"@neovici/cfg/prettier" |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.