Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/pod-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: POD Tests

on:
pull_request:
branches:
- develop
workflow_dispatch:

jobs:
pod-tests:
runs-on: ubuntu-latest

steps:
- name: Get Repo
uses: actions/checkout@v4

- name: Install Node.JS
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install pnpm
run: npm install -g pnpm

- name: Navigate to the pods directory
run: |
cd pods

- name: Install packages
run: |
pnpm install --no-frozen-lockfile
working-directory: pods

- name: Run tests
run: |
pnpm test
working-directory: pods
14 changes: 8 additions & 6 deletions pods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
"description": "Example of how to create and verify PODs and ZK Proofs",
"main": "index.js",
"scripts": {
"create": "pnpm tsx create.tsx",
"verify": "pnpm tsx verify.tsx",
"zkCreate": "pnpm tsx zkCreate.tsx",
"zkVerify": "pnpm tsx zkVerify.tsx",
"keyGen": "node privateKeyGen.js"
"create": "pnpm tsx create.ts",
"verify": "pnpm tsx verify.ts",
"zkCreate": "pnpm tsx zkCreate.ts",
"zkVerify": "pnpm tsx zkVerify.ts",
"keyGen": "node privateKeyGen.js",
"test": "jest"
},
"author": "CCP Red Dragon",
"dependencies": {
"@pcd/gpc": "^0.4.0",
"@pcd/pod": "^0.5.0",
"tsx": "^4.19.3",
"@pcd/proto-pod-gpc-artifacts": "0.13.0"
"@pcd/proto-pod-gpc-artifacts": "0.13.0",
"jest": "30.0.5"
}
}
Loading