-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from miles-grant-ibigroup/master
Add Typescript Types
- Loading branch information
Showing
11 changed files
with
9,020 additions
and
9,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Node.js CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
- name: Install npm packages using cache | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
# the IBI Group TSDX fork has some dependency issues | ||
# that cause yarn install to fail on a ci runner. Disabling | ||
# concurrency allows installation to complete successfully | ||
install-command: yarn --frozen-lockfile --network-concurrency 1 | ||
- name: Lint Code | ||
run: yarn lint | ||
- name: Lint Docs | ||
run: yarn lint-docs | ||
- name: Test Code | ||
run: yarn jest | ||
- name: Build Package | ||
run: yarn build | ||
|
||
# at this point, the build is successful | ||
- name: Semantic Release | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: yarn semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Coverage directory used by tools like istanbul | ||
coverage | ||
tmp | ||
|
||
# Lock file | ||
yarn.lock |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.