Skip to content

Commit

Permalink
Merge 17b1683 into 159057b
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Jul 1, 2022
2 parents 159057b + 17b1683 commit 3b842bb
Show file tree
Hide file tree
Showing 8 changed files with 990 additions and 54 deletions.
5 changes: 5 additions & 0 deletions .c8rc
@@ -0,0 +1,5 @@
{
"reporter": ["lcov","text"],
"src": ["src"],
"exclude": ["hardhat.config.ts", "src/__tests__/*", "src/abi/*"]
}
33 changes: 30 additions & 3 deletions .github/workflows/main.yaml
Expand Up @@ -24,7 +24,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GH_PAT_TOKEN }}

- name: Install dependencies
run: npm install --ignore-scripts
run: npm ci --ignore-scripts

- name: Build
run: npm run build
Expand All @@ -46,10 +46,37 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GH_PAT_TOKEN }}

- name: Install dependencies
run: npm install --ignore-scripts
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Run tests
run: npm run lint
run: npm run test

coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16.11.0"
cache: npm
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PAT_TOKEN }}

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Run tests
run: npm run coverage

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -9,4 +9,5 @@ lib
cache
artifacts

.vscode
.vscode
.DS_Store
2 changes: 2 additions & 0 deletions .npmignore
@@ -1,3 +1,5 @@
hardhat.config.ts
scripts
test
coverage
.env
2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
[![Coverage Status](https://coveralls.io/repos/github/ProjectOpenSea/seaport-js/badge.svg?branch=main)](https://coveralls.io/github/ProjectOpenSea/seaport-js?branch=main)

# Seaport.js

[Seaport](https://github.com/ProjectOpenSea/seaport) is a new marketplace protocol for safely and efficiently buying and selling NFTs. This is a JavaScript library intended to make interfacing with the contract reasonable and easy.
Expand Down

0 comments on commit 3b842bb

Please sign in to comment.