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
3 changes: 2 additions & 1 deletion .github/workflows/node-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Node Publish
run-name: '[${{ github.ref_name }}] triggered by [${{ github.event_name }}/${{ github.actor }}]'
run-name: Node Publish [${{ github.ref_name }}] triggered by [${{ github.event_name }}/${{ github.actor }}]

on:
release:
Expand All @@ -14,4 +14,5 @@ jobs:
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
with:
node_install: true
dry_run: ${{ github.event_name != 'release' }}
4 changes: 2 additions & 2 deletions .github/workflows/node-release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Node Release
run-name: '[${{ github.ref_name }}] triggered by [${{ github.event_name }}/${{ github.actor }}]'
run-name: Node Release [${{ github.ref_name }}] triggered by [${{ github.event_name }}/${{ github.actor }}]

on:
push:
branches: 'main'
branches: main
workflow_dispatch:

jobs:
Expand Down
34 changes: 19 additions & 15 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
/* eslint-disable @typescript-eslint/naming-convention */

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/test/**/*.test.{ts,tsx}'],
collectCoverage: true,
coverageDirectory: 'coverage',
coverageThreshold: {
global: {
lines: 60,
statements: 60,
functions: 60,
branches: 60,
},
},
}

collectCoverage: true,
coverageDirectory: 'coverage',
coverageThreshold: {
global: {
branches: 60,
functions: 60,
lines: 60,
statements: 60,
},
},
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/test/**/*.test.{ts,tsx}'],
transform: {
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.jest.json' }],
},
}
Loading