Skip to content

Commit

Permalink
Merge df8d42c into 4ec4a98
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Jan 2, 2021
2 parents 4ec4a98 + df8d42c commit d057dbb
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 316 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/audit-depencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Audit Dependencies

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
audit-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: yarn audit
24 changes: 24 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Coverage

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: yarn install
- run: yarn test-coverage
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

19 changes: 0 additions & 19 deletions appveyor.yml

This file was deleted.

8 changes: 1 addition & 7 deletions dependency-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ executedModules:
npmScripts:
dev:
- build
- coverage
- lint
- publish
- test
- test-coverage
- version
shellScripts:
dev:
- test
ignore: []
root: 'scripts/*.sh'

ignoreErrors:
missing: []
Expand All @@ -26,7 +21,6 @@ ignoreErrors:
- '@typescript-eslint/parser' # peer dependency of @typescript-eslint/eslint-plugin
- '@types/*' # type definitions
- coffeescript # features/compiler.feature
- coveralls # .travis.yml
- eslint-config-prettier # .eslintrc.yml - extends - prettier
- eslint-config-standard-with-typescript # .eslintrc.yml - extends - standard-with-typescript
- eslint-plugin-import # peer dependency of eslint-config-standard-with-typescript
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
"chai-exclude": "2.0.2",
"coffeescript": "2.5.1",
"core-js": "3.8.1",
"coveralls": "3.1.0",
"dependency-lint": "6.0.0",
"dirty-chai": "2.0.1",
"eslint": "7.16.0",
Expand Down Expand Up @@ -270,7 +269,8 @@
"precck-test": "yarn run build-local",
"prefeature-test": "yarn run build-local",
"prepublishOnly": "rm -rf lib && npm run build-local",
"test-coverage": "yarn run lint && ./scripts/test-coverage.sh",
"pretest-coverage": "yarn build-local",
"test-coverage": "nyc --silent mocha 'src/**/*_spec.ts' 'compatibility/**/*_spec.ts' && nyc --silent --no-clean node ./bin/cucumber-js && nyc report --reporter=lcov",
"test": "yarn run lint && yarn run unit-test && yarn run cck-test && yarn run feature-test",
"unit-test": "mocha 'src/**/*_spec.ts'",
"update-dependencies": "npx npm-check-updates --upgrade"
Expand Down
17 changes: 0 additions & 17 deletions scripts/test-coverage.sh

This file was deleted.

0 comments on commit d057dbb

Please sign in to comment.