Skip to content

Commit

Permalink
༼ つ ◕_◕ ༽つ hardware-sdk-ledger
Browse files Browse the repository at this point in the history
- create berry repo.
- add Ledger ARK App as workspace package.
   - add Dockerfile.
   - add Docker shell script.
   - add package.json.
- add Ledger Transport as workspace package.
   - remove yarn.lock
   - update globally shared dep versions (jest, typings, etc).
- add e2e tests.
  • Loading branch information
sleepdefic1t committed Jun 28, 2020
1 parent d88f93d commit 50280d1
Show file tree
Hide file tree
Showing 1,132 changed files with 42,476 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_extends: .github
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test

on:
push:
branches:
- "master"
- "develop"
pull_request:
types: [ready_for_review, synchronize, opened]

jobs:
sdk:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: yarn install --immutable --immutable-cache

- name: Build
run: yarn run build

- name: Test Transport
run: yarn run test:transport --coverage

- name: Test e2e
run: yarn run test:e2e

- name: Codecov
uses: codecov/codecov-action@v1
with:
file: packages/ledger-transport-ark/.coverage/lcov.info
flags: unit
fail_ci_if_error: true
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Logs
logs
*.log
npm-debug.log*
lerna-debug.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
.coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Build results
app.js

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Mac OS X local settings
.DS_Store
.tags
bundle.min.js

# Build
dist

# Microsoft Visual Studio settings
.vs

# Databases
*.sqlite

# Environment
.env
env.json
Loading

0 comments on commit 50280d1

Please sign in to comment.