Skip to content

Commit 948f87a

Browse files
Merge pull request #19 from miles-grant-ibigroup/master
Add Typescript Types
2 parents 91240d4 + 5c8eeb4 commit 948f87a

11 files changed

+9020
-9591
lines changed

.github/workflows/node-ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Node.js CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Use Node.js 14
12+
uses: actions/setup-node@v2
13+
with:
14+
node-version: 14.x
15+
- name: Install npm packages using cache
16+
uses: bahmutov/npm-install@v1
17+
with:
18+
# the IBI Group TSDX fork has some dependency issues
19+
# that cause yarn install to fail on a ci runner. Disabling
20+
# concurrency allows installation to complete successfully
21+
install-command: yarn --frozen-lockfile --network-concurrency 1
22+
- name: Lint Code
23+
run: yarn lint
24+
- name: Lint Docs
25+
run: yarn lint-docs
26+
- name: Test Code
27+
run: yarn jest
28+
- name: Build Package
29+
run: yarn build
30+
31+
# at this point, the build is successful
32+
- name: Semantic Release
33+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37+
run: yarn semantic-release

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tmp
2323

2424
# Compiled binary addons (http://nodejs.org/api/addons.html)
2525
build/Release
26+
dist/
2627

2728
# Dependency directory
2829
node_modules
@@ -32,3 +33,9 @@ node_modules
3233

3334
# Optional REPL history
3435
.node_repl_history
36+
37+
# MacOS
38+
.DS_Store
39+
40+
# Typescript type files
41+
*.d.ts

.npmignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Coverage directory used by tools like istanbul
2+
coverage
3+
tmp
4+
5+
# Lock file
6+
yarn.lock

.travis.yml

-16
This file was deleted.

0 commit comments

Comments
 (0)