Add ES256K sign and verify test vectors #75
Workflow file for this run
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
name: Validate Test Vectors | |
on: | |
push: | |
paths: | |
- 'web5-test-vectors/**' | |
- 'scripts/test-vector-validation/**' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install dependencies for test vector validation script | |
run: | | |
cd scripts/test-vector-validation | |
npm install | |
- name: Validate test vectors | |
run: | | |
cd scripts/test-vector-validation | |
node main.js |