You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20
21
- uses: actions/checkout@v2
21
22
# Setup node environment for testing
22
-
- uses: actions/setup-node@v1
23
+
- uses: actions/setup-node@v2
23
24
with:
24
-
node-version: '12.16'
25
+
node-version: '12.x'
25
26
registry-url: 'https://registry.npmjs.org'
26
-
- name: test
27
-
run: echo ${{github.event_name}}
28
-
- name: npm install
29
-
run: npm install
27
+
- name: yarn install
28
+
run: yarn install
30
29
- name: run unittest
31
-
run: npm run test_unit
30
+
run: yarn run test_unit
32
31
- name: run integration test
33
32
if: github.event.pull_request.base.ref == 'master' # integration test only run when master merging
34
-
run: npm run test_integration
33
+
run: yarn run test_integration
35
34
check_protocol_version:
36
35
if: ${{ github.event_name == 'push' }}
37
-
runs-on: ubuntu-latest
36
+
runs-on: macos-latest
38
37
steps:
39
38
- uses: actions/checkout@v2
40
39
- name: test
@@ -52,7 +51,59 @@ jobs:
52
51
run: |
53
52
curl -X POST https://hooks.slack.com/services/$SLACK_WEBHOOK_TOKEN \
54
53
-H "Content-Type: application/json" \
55
-
-d '{"username": "ain-blockchain",
54
+
-d '{"username": "AIN-BLOCKCHAIN",
56
55
"channel": "blockchain-testnet-deploy",
57
56
"text": "New PR has just been merged(${{ github.ref }}, ${{ github.sha }}).\nCurrent version: '"$VERSION"', compatible with min('"$MIN_VERSION"'), max('"$MAX_VERSION"')",
Set <NUMBER_OF_SHARDS> to 0 if you only want to run a parent chain, or set it to the specific number of shard chains you want to run in addition to the parent chain.
0 commit comments