-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (35 loc) · 1011 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: End-to-End Testing
on: [push, pull_request]
permissions: read-all
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
cache-dependency-path: apps/aggsig_checker_cli/package-lock.json
- name: Set up Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.9.2"
- name: Install jq
run: sudo apt-get install -y jq
- name: Install CLI dependencies
run: |
cd apps/aggsig_checker_cli
npm i
cd ../..
- name: Build Cairo package
run: |
cd packages/aggsig_checker
scarb build
cd ../..
- name: Run end-to-end test
run: |
chmod +x scripts/verify_nostr_event_batch_signatures.sh
./scripts/verify_nostr_event_batch_signatures.sh