Skip to content

Commit

Permalink
fix: add ci context (#19)
Browse files Browse the repository at this point in the history
* ci: add ci context

* chore: update readme

Co-authored-by: Tng Zi Xiang <[email protected]>
  • Loading branch information
superical and zixiang2018 authored Oct 6, 2022
1 parent 0355a4e commit 730d5e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
version: 2
version: 2.1

workflows:
build:
jobs:
- build:
context:
- deployment

jobs:
build:
docker:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm install @govtechsg/opencerts-verify
import { documentMainnetValidWithCertificateStore } from "./test/fixtures/v2/document";
import { verify, isValid } from "@govtechsg/opencerts-verify";

const fragments = await verify(documentMainnetValidWithCertificateStore, { network: "ropsten" });
const fragments = await verify(documentMainnetValidWithCertificateStore, { network: "goerli" });
console.log(fragments); // see below
console.log(isValid(fragments)); // display true
```
Expand Down

0 comments on commit 730d5e5

Please sign in to comment.