Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- if: github.event_name == 'pull_request'
name: Lint commit messages
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- run: npm run build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be added to the pre-commit hook.

- run: npm test
publish:
name: "Publish"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/lib
/.idea

# Logs
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
artifacts/
coverage/
test/
src/
.gitignore
.npmignore
.nyc_output
Expand Down
276 changes: 0 additions & 276 deletions index.js

This file was deleted.

8 changes: 6 additions & 2 deletions nyc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ module.exports = {
branches: [85, 100],
statements: [85, 100],
},
include: ['**/*.js'],
exclude: ['node_modules', 'test-results', 'test/*', '**/*.spec.js', '*.config.js'],
include: ['**/*.ts'],
exclude: ['node_modules', 'test-results', 'test/*', "**/*.d.ts", '**/*.spec.ts', '*.config.js'],
reporter: ['text', 'html', 'cobertura'],
cache: false,
all: true,
'temp-directory': './test-results/coverage/.tmp',
'report-dir': './test-results/coverage',
require: [
'ts-node/register',
'source-map-support/register'
],
};
Loading