Skip to content

Commit

Permalink
feat: add typescript and continuous integration
Browse files Browse the repository at this point in the history
COMM-2678
  • Loading branch information
raphaelbs committed Oct 7, 2024
1 parent 3fee998 commit 2c0410f
Show file tree
Hide file tree
Showing 13 changed files with 16,152 additions and 12,154 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Dependencies
node_modules

# Nod 6 Transpiled code
dist/node
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: continuous-integration

on:
push:
branches:
- alpha
- beta
- master
pull_request:
branches:
- master

jobs:
default:
uses: mixmaxhq/github-workflows/.github/workflows/npm_module.yml@main
with:
coverage_threshold: 90
secrets: inherit
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dependencies
node_modules

# Nod 6 Transpiled code
dist/node
# Transpiled code
dist
1 change: 0 additions & 1 deletion index.js

This file was deleted.

6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const jestTypescriptConfig = require('@mixmaxhq/jest-coverage-config/typescript');

module.exports = {
...jestTypescriptConfig,
collectCoverageFrom: ['src/**/*.{ts,js}'],
};
Loading

0 comments on commit 2c0410f

Please sign in to comment.