diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b9ab77de4..73a0768dbc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,21 +16,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '12.x' - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - name: Install dependencies - run: | - yarn install + - uses: bahmutov/npm-install@v1 - name: Run tests run: | yarn test --coverage