diff --git a/.github/workflows/chrome.yml b/.github/workflows/chrome.yml index 1387f8425fd..a0e453966c4 100644 --- a/.github/workflows/chrome.yml +++ b/.github/workflows/chrome.yml @@ -14,14 +14,8 @@ jobs: - name: Setup Node 14.x uses: actions/setup-node@v2 with: - node-version: 14.x - - - uses: actions/cache@v2 - with: - path: | - node_modules - */*/node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - name: Install Dependencies run: yarn --frozen-lockfile --no-progress --non-interactive diff --git a/.github/workflows/firefox.yml b/.github/workflows/firefox.yml index b588940cab5..a0eb77c9491 100644 --- a/.github/workflows/firefox.yml +++ b/.github/workflows/firefox.yml @@ -14,18 +14,8 @@ jobs: - name: Setup Node 14.x uses: actions/setup-node@v2 with: - node-version: 14.x - - - name: Set environment variables - run: echo "PLAYWRIGHT_BROWSERS_PATH=$HOME/.playwright" >> $GITHUB_ENV - - - uses: actions/cache@v2 - with: - path: | - node_modules - */*/node_modules - ${{ env.PLAYWRIGHT_BROWSERS_PATH }} - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - uses: microsoft/playwright-github-action@v1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d5af2d1b497..4dc142baff4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,10 +16,8 @@ jobs: - uses: actions/cache@v2 with: - path: | - node_modules - */*/node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - name: Install Dependencies run: yarn --frozen-lockfile --no-progress --non-interactive diff --git a/.github/workflows/lumo.yml b/.github/workflows/lumo.yml index 17c7255fa05..d85bee520d9 100644 --- a/.github/workflows/lumo.yml +++ b/.github/workflows/lumo.yml @@ -16,14 +16,8 @@ jobs: - name: Setup Node 14.x uses: actions/setup-node@v2 with: - node-version: 14.x - - - uses: actions/cache@v2 - with: - path: | - node_modules - */*/node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - name: Install Dependencies run: yarn --frozen-lockfile --no-progress --non-interactive diff --git a/.github/workflows/material.yml b/.github/workflows/material.yml index 6e550afdaf2..4f1c3af8c6b 100644 --- a/.github/workflows/material.yml +++ b/.github/workflows/material.yml @@ -16,14 +16,8 @@ jobs: - name: Setup Node 14.x uses: actions/setup-node@v2 with: - node-version: 14.x - - - uses: actions/cache@v2 - with: - path: | - node_modules - */*/node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - name: Install Dependencies run: yarn --frozen-lockfile --no-progress --non-interactive diff --git a/.github/workflows/webkit.yml b/.github/workflows/webkit.yml index fd332e822d2..3b85aa96062 100644 --- a/.github/workflows/webkit.yml +++ b/.github/workflows/webkit.yml @@ -14,18 +14,8 @@ jobs: - name: Setup Node 14.x uses: actions/setup-node@v2 with: - node-version: 14.x - - - name: Set environment variables - run: echo "PLAYWRIGHT_BROWSERS_PATH=$HOME/.playwright" >> $GITHUB_ENV - - - uses: actions/cache@v2 - with: - path: | - node_modules - */*/node_modules - ${{ env.PLAYWRIGHT_BROWSERS_PATH }} - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} + node-version: '14' + cache: 'yarn' - uses: microsoft/playwright-github-action@v1