This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04e93d3
commit e2419ea
Showing
50 changed files
with
667 additions
and
1,101 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,53 @@ | ||
name: ci | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: yarn lint | ||
- uses: gozala/[email protected] | ||
- run: yarn build | ||
- run: yarn aegir dep-check | ||
- uses: ipfs/aegir/actions/bundle-size@master | ||
name: size | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
test-node: | ||
needs: check | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
node: [12, 14] | ||
fail-fast: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: yarn | ||
- run: npx nyc --reporter=lcov aegir test -t node -- --bail | ||
- uses: codecov/codecov-action@v1 | ||
test-chrome: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: npx aegir test -t browser -t webworker --bail | ||
test-firefox: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: yarn | ||
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -9,11 +9,21 @@ | |
"types", | ||
"dist" | ||
], | ||
"types": "dist/src/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"src/*": [ | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
] | ||
} | ||
}, | ||
"eslintConfig": { | ||
"extends": "ipfs" | ||
}, | ||
"scripts": { | ||
"lint": "aegir lint", | ||
"build": "aegir build", | ||
"pregenerate:types": "rimraf './src/**/*.d.ts'", | ||
"generate:types": "tsc", | ||
"test": "aegir test", | ||
"test:node": "aegir test --target node", | ||
"test:browser": "aegir test --target browser", | ||
|
@@ -37,11 +47,11 @@ | |
}, | ||
"homepage": "https://github.com/libp2p/js-interfaces#readme", | ||
"dependencies": { | ||
"@types/bl": "^2.1.0", | ||
"abort-controller": "^3.0.0", | ||
"abortable-iterator": "^3.0.0", | ||
"chai": "^4.2.0", | ||
"chai-checkmark": "^1.0.1", | ||
"class-is": "^1.1.0", | ||
"debug": "^4.1.1", | ||
"delay": "^4.3.0", | ||
"detect-node": "^2.0.4", | ||
|
@@ -67,10 +77,9 @@ | |
"uint8arrays": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^25.0.0", | ||
"aegir": "^29.2.0", | ||
"it-handshake": "^1.0.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "3.7.5" | ||
"rimraf": "^3.0.2" | ||
}, | ||
"contributors": [ | ||
"Alan Shaw <[email protected]>", | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.