git.delta.rocks / unique-network / refs/commits / 3c6191db6732

difftreelog

Installing node modules by yarn.

Alexander Aksenov2022-08-04parent: #8fcfaf3.patch.diff
in: master

1 file changed

modified.github/workflows/node_build_test.ymldiffbeforeafterboth
82 - name: Build the stack82 - name: Build the stack
83 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build83 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build
84
85# - name: Wait
86# run: sleep 420s
8784
88 - uses: actions/setup-node@v385 - uses: actions/setup-node@v3
89 with:86 with:
90 node-version: 1687 node-version: 16
9188
92 - name: Run tests89 - name: Run tests
93 run: |90 run: |
94 yarn add @polkadot/api @polkadot/util mochawesome91 yarn install
92 yarn add @polkadot/api @polkadot/util mochawesome
95 node -v93 node -v
96 echo "Ready to start tests"94 echo "Ready to start tests"
97 node .docker/readyness.js95 node .docker/readyness.js
98 cd tests96 cd tests
99 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}97 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
100 env:98 env:
101 RPC_URL: http://127.0.0.1:9933/99 RPC_URL: http://127.0.0.1:9933/
102100