-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (55 loc) · 1.69 KB
/
build-all.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Sequential Build of All Packages
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Adjust Node.js version as necessary
- name: Build minauth
run: |
echo "Building minauth..."
cd ./minauth
npm install
npm run build
npm run test
- name: Build minauth-erc721-timelock-plugin
run: |
echo "Building minauth-erc721-timelock-plugin..."
cd ./minauth-plugins/minauth-erc721-timelock-plugin
npm install-ci
npm run build
npm run test
- name: Build minauth-merkle-membership-plugin
run: |
echo "Building minauth-merkle-membership-plugin..."
cd ./minauth-plugins/minauth-merkle-membership-plugin
npm install
npm run build
npm run test
- name: Build minauth-simple-preimage-plugin
run: |
echo "Building minauth-simple-preimage-plugin..."
cd ./minauth-plugins/minauth-simple-preimage-plugin
npm install
npm run build
npm run test
- name: Build minauth-demo-server
run: |
echo "Building minauth-demo-server..."
cd ./minauth-demo/minauth-demo-server
npm install
npm run build
npm run test
- name: Build minauth-demo-client
run: |
echo "Building minauth-demo-client..."
cd ./minauth-demo/minauth-demo-client
npm install
npm run dev-kill
npm run test