From 07ac38794028433c47d6e5b466ff2ba6a85f6408 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Thu, 04 Aug 2022 13:45:28 +0000 Subject: [PATCH] Changed step related to Node JS installation --- --- a/.github/workflows/node_build_test.yml +++ b/.github/workflows/node_build_test.yml @@ -85,10 +85,11 @@ # - name: Wait # run: sleep 420s - - name: Install node - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 16 + cache: 'yarn' + cache-dependency-path: tests/package.json # - name: Install dependencies # run: | @@ -100,9 +101,9 @@ - name: Run tests run: | cd tests - echo "Installing required packages" - yarn install - yarn add @polkadot/api @polkadot/util@9.4.1 mochawesome + # echo "Installing required packages" + # yarn install + # yarn add polkadot/api polkadot/util mochawesome echo "Ready to start tests" node .docker/readyness.js NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW} -- gitstuff