Skip to content

Commit

Permalink
chore(MPC-2011): continue tests on error
Browse files Browse the repository at this point in the history
  • Loading branch information
MnrGreg committed Nov 1, 2024
1 parent 2a4cd60 commit 174efcc
Show file tree
Hide file tree
Showing 47 changed files with 23 additions and 936 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Build and Publish NPM Package

on:
push:
branches:
- main
# Publish semver tags as releases.
branches: [main]
tags: ["v*.*.*"]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout code
Expand All @@ -26,10 +27,14 @@ jobs:
- name: Add @sepior/tsmsdkv2 Typescript Definitions
run: cp ./types/* ./node_modules/@sepior/tsmsdkv2/

- name: Run Tests
run: npm test
continue-on-error: true # ToDo: remove once integration with hosted BV sandbox is in place.

- name: Build TypeScript application
run: npm run build

- name: Publish to GitHub npm package registry
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: npm publish --registry=https://npm.pkg.github.com/OWNER
run: npm publish
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
init
**/key.txt
**/.env
**/node_modules
**/node_modules
/dist/
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Blockdaemon BuilderVault [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) Com

## Installation
```bash
npm config set @sepior:registry=https://gitlab.com/api/v4/projects/56306653/packages/npm/ # Builder Vault nodejsSDK repository
npm config set @sepior:registry=https://gitlab.com/api/v4/projects/56306653/packages/npm/ # Builder Vault nodejsSDK public repository
npm config set @blockdaemon:registry=https://npm.pkg.github.com/ # Builder Vault Web3 provider nodejsSDK private repository
npm config set //npm.pkg.github.com/:_authToken=YOUR_GITHUB_PAT
npm install @blockdaemon/buildervault-web3-provider
```

Expand Down
41 changes: 0 additions & 41 deletions dist/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions dist/src/constants.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/constants.d.ts.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/src/constants.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/constants.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/src/index.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/index.d.ts.map

This file was deleted.

24 changes: 0 additions & 24 deletions dist/src/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/index.js.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/src/jsonRpcUtils.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/jsonRpcUtils.d.ts.map

This file was deleted.

27 changes: 0 additions & 27 deletions dist/src/jsonRpcUtils.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/jsonRpcUtils.js.map

This file was deleted.

27 changes: 0 additions & 27 deletions dist/src/provider.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/src/provider.d.ts.map

This file was deleted.

Loading

0 comments on commit 174efcc

Please sign in to comment.