diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml index f8a75e7201a2..17a00626db7f 100644 --- a/.github/workflows/tests-unit.yml +++ b/.github/workflows/tests-unit.yml @@ -7,19 +7,15 @@ jobs: name: Core Unit Tests runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - uses: actions/checkout@v2 - - name: Cache node modules - uses: actions/cache@v2 - with: - path: node_modules - key: yarn-2-cache-v1-${{ hashFiles('**/yarn.lock') }} - - name: install, bootstrap - run: | - yarn install --immutable - yarn bootstrap --core - - name: test - run: | - yarn test --runInBand --ci + - uses: actions/setup-node@v1 + with: + node-version: "12.x" + cache: yarn + - uses: actions/checkout@v2 + - name: install, bootstrap + run: | + yarn install --immutable + yarn bootstrap --core + - name: test + run: | + yarn test --runInBand --ci