Skip to content

Commit

Permalink
feat: update dependencies and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Nov 3, 2023
1 parent bd5249f commit e06c8d2
Show file tree
Hide file tree
Showing 13 changed files with 16,828 additions and 14,742 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
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
}
}
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

51 changes: 7 additions & 44 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,16 @@
---
name: Github CI

on:
pull_request:
branches:
- master
- beta
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Install
run: npm ci
- beta

- name: Lint commit messages
run: npx commitlint --from origin/master --to HEAD

- name: ESLint
run: npx github-actions-eslint-annotator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Test and report
env:
CC_TEST_REPORTER_ID: 1aa3076670ef336a22534f197dd55f553b5c6a14883f53dfe64f938651031115
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
npm run test $([ -z "$SAUCE_ACCESS_KEY"] && echo "-- --skip-plugin sauce")
$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 }}
jobs:
build:
uses: Neovici/cfg/.github/workflows/forge.yml@master
secrets: inherit
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@neovici/cfg/prettier"
9 changes: 0 additions & 9 deletions es-dev-server.config.js

This file was deleted.

Loading

0 comments on commit e06c8d2

Please sign in to comment.