git.delta.rocks / unique-network / refs/commits / 07ac38794028

difftreelog

Changed step related to Node JS installation

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

1 file changed

modified.github/workflows/node_build_test.ymldiffbeforeafterboth
85# - name: Wait85# - name: Wait
86# run: sleep 420s86# run: sleep 420s
8787
88 - name: Install node88 - uses: actions/setup-node@v3
89 uses: actions/setup-node@v1
90 with:89 with:
91 node-version: 16.x90 node-version: 16
91 cache: 'yarn'
92 cache-dependency-path: tests/package.json
9293
93# - name: Install dependencies94# - name: Install dependencies
94# run: |95# run: |
100 - name: Run tests101 - name: Run tests
101 run: |102 run: |
102 cd tests103 cd tests
103 echo "Installing required packages"104 # echo "Installing required packages"
104 yarn install105 # yarn install
105 yarn add @polkadot/api @polkadot/util@9.4.1 mochawesome106 # yarn add polkadot/api polkadot/util mochawesome
106 echo "Ready to start tests"107 echo "Ready to start tests"
107 node .docker/readyness.js108 node .docker/readyness.js
108 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}109 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}